Hacker News new | past | comments | ask | show | jobs | submit | anteloper's comments login

It's up to you. In your Apple devices under Screen time there's a "Share across devices" setting. If that's on, it'll aggregate. If not, it'll just report the screen time from a single entity

For retrieving Mac OS screen time programatically? Not that I'm aware of.

In any Apple device, In settings -> Screen Time there's an option for "share across devices". If that is turned on, all devices will report your cumulative totals. So if you're interested in retrieving your screen time from all your devices, you can turn that on and then your iPhone will report everything, which you could retrieve with this API. But you wouldn't be able to differentiate where the screen time came from.


Clearspace is the only data source right now yes. Would love to have other options feeding in. Does Foqos measure total screen time on iOS?

Very cool. Are you able to get sleep data in there?

I can but the raw data is very noisy. I'm still working my way through it. I'll likely share this in a blog series or via Deepnote/Hex.tech

Understandable, but yes we need auth and would rather use third party (google) for that, all things considered. And yes we need the network.

We don't sell your usage data.


Unfortunately, without the Google account I don't even get to the point where I could have a look at your ToS or anything like that.

Regarding auth, would a free tier or trial version or a one-time payment (each without auth) possibly make sense?


Forcing users to have adtech surveillance platform accounts (and agree to TOS of same) to use your app isn’t a good look.

They already have Android phones so the vast vast majority already have Google accounts.

I can see both sides. I want them to not require it but as a developer used to creating lean projects I can understand why they do.


Is this serious? Why is it not a good look?

Remember 95%+ of potential users of this app have not spent a minute concerned about Googles data harvesting.


The alternative is forcing users to create yet another account/password during signup. This always infuriates me as a user - especially in the days before iOS 18 when there was no password manager support on iOS.

It doesn't really feel like "forcing users into adtech surveillance platforms" if they're using Android - they already have a Google account it's literally built into the operating system.

The goal was and is to minimize friction and maximize security. For all the flaws of consumer subscription as a business model, it's beauty is that we don't have perverse incentives. Users pay us to protect their attention so we make money by being good at that. We don't have to or want to sell their data.


Not everyone that has an Android device has a Google account.

Tailwind but not a publicly available theme

1. You create an account

2. Log in with that account to the Clearspace app which uses on-device permission to report your data to the API

3. Use API key associated with that account to fetch your data or be notified about changes to it

Does that answer?


Yep. I love this, but does it require using the Cleaspace app / having a paid subscription?

> Does it require paid subscription

No

> Does it require using clearspace

Yes in the sense that it needs to downloaded and logged in on your phone. No in the sense that you don't have to open it or use it after setup


Excellent. Thanks for this!

Yes if there's interest we'll add API functionality for

- lock/unlock apps

- exclude some apps from total screen time calculation

- get data about specific app usage


Yes - the Clearspace app. https://apps.apple.com/us/app/clearspace-reduce-screen-time/...

Would recommend creating an account in the API docs first because that way when you log into Clearspace you'll get an onboarding for API setup rather than general setup of the app

Maybe other apps in future will report data to the API as well


Whoops, fixed thanks.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: