Lurker News
i wanted to change the habit of reaching for my phone in the morning and doomscrolling away an hour so i built an app to help me. now i have to literally touch grass before accessing my most distracting apps

the app is built in swiftui, uses the screen time apis provided by apple and google vision to recognise grass or not
i'd love to get your thoughts on the concept.

Comments (268) 119 threads

Earlier comments
moontear1 reply#
How is it blocking other apps? Is it creating apple shortcuts which go through this app as a launcher?
queueueue#
Apple has a screentime API which allows the app/dev to block an app after the user chooses it
woadwarrior014 replies#
Why does the app need to collect location data?
m_mueller#
are you telling me it actually checks the GPS coordinates against satellite images? ....
tonyhart7#
to locate user location ofcourse
SSLy2 replies#
1. Information Collection 1.1 Required Permissions

    Location: Used solely to determine local sunset times; location data is not stored or transmitted
risquer#
Yeah exactly, thanks!
Cthulhu_2 replies#
Wouldn't checking the time (which should include TZ data) and comparing it with a database be adequate or can you not get local timezone data without permissions?
busymom0#
You can get local timezone data without permissions in iOS.

But I think the OP's app is using the location data to ensure you walked a few meters to touch grass and not just have a patch of grass at your desk.

SSLy#
no, the timezones can be very very long north to south
andy_ppp#
Presumably you don't need to let the app have access for it to work?
jsnelgro#
I wrote an apple shortcut last year that notifies me with a random item from my todo list after five minutes of having an "addicting" app open. It sort of helps to jog me out of mindless scrolling, but I still ignore it a lot of the time. At the very least, it helps repeatedly remind me of things I aspire to do someday (I keep big picture ideas and projects in certain lists)
tibbetts4 replies#
Needs a mode where touching snow counts.
KMnO4#
Just don't doomscroll until spring.
layer8#
Google for “indoor grass”.
alaithea#
I was thinking the same. Grass is hard to come by in my neck of the woods right now. Maybe "touch bark?"
pbhjpbhj#
Walk 500 steps?

Load more comments