Is there any other way to update the live activities besides using push notifications when the app is in background?
Is it possible to schedule an update, for example?
For context, I have a live activity that needs the content updated 2 hours after it's creation.
I know that the best way to do it is using a push notification, but right now I don’t have the resources to implement this.
I already tried using BackgroundTasks, but they are not very reliable, so I can't trust it.
Post
Replies
Boosts
Views
Activity
Using the Health app, the user can define a bedtime and a wake up time.
Can we get this data using the HealthKit framework?
I'm not interested in the actual time the user spent in bed, but in the time the user scheduled to go to bed, so different kinds of data.
Unfortunately I could not find anything in the documentation:
https://developer.apple.com/documentation/healthkit/data_types
https://developer.apple.com/documentation/sirikit/infocusstatus