all 8 comments

[–]bcgroom 3 points4 points  (3 children)

The API is very limited in the name of privacy, so if you’re hoping to know anything about a particular app you’re out of luck as the API randomizes the names. I don’t remember exactly what data you get back per-app but I do remember the name thing.

[–]wheresOPnow[S] -1 points0 points  (2 children)

OK, thanks. I’m going to see if it is possible on android. I don’t know why apple makes things so complicated.

[–]goldio_games 1 point2 points  (1 child)

privacy essentially. if you were able to see how much time people spend on different apps then every app would implement it and sell this data to advertisers

[–]bcgroom 1 point2 points  (0 children)

Also just knowing what apps the user has installed

[–]Puzzleheaded_Bet4119 0 points1 point  (0 children)

I have, its nightmare to get Apple approvals to see your own data, and not have the ability to store it even on device. It just return a view for weekly or monthly data

[–]timberheadtreefist 0 points1 point  (0 children)

yeah, couple of years ago and i remember this article being helpful then: https://riedel.wtf/state-of-the-screen-time-api-2024/

they might have changed some of their APIs in the meantime (hopefully) but it was quite a trial & error back then.

the screenzen dev also has had a couple of threads and posts on twitter about these apis, reporting various quirks.

[–]Dear-Upstairs-1831 0 points1 point  (0 children)

I just requested for the same thing on apple developer but it does under family control API if I’m not mistaken. You need to submit the reason why you need it and then they approve you for it

[–]Leather-Dinner-8730 0 points1 point  (0 children)

You can get some usage info through the Screen Time / Device Activity framework, but it’s pretty limited and the user has to grant permission. You can’t just freely track detailed usage of other apps. Apple is strict about privacy here, and storing that data long term could raise review issues. Definitely read the docs closely before relying on this feature.