Post

Replies

Boosts

Views

Activity

Comment on Does HealthKit sync data when the app is terminated?
Hi, thank you so much for your answer! I mean, I need to send steps data from HealthKit (iPhone only, no watchOS) to my database on the server because I need to update it at least once a day to keep the leaderboard up to date. I'm already doing that using HKObserverQuery + enableBackgroundDelivery, but it doesn't seem to work for a specific case. My problem is: what happens if the user doesn't open the app for 5 or more days? Is there another way to make the sync reliable with an inactive app?
May ’26
Comment on Does HealthKit sync data when the app is terminated?
Hey, thank you so much for your answer! I mean, I need to send the steps data from HealthKit (iPhone only, no watchOS needed) to my database on the server because I need to update it at least once a day to keep the leaderboard up to date. It is already doing that, except for a specific case. My problem is: what happens if the user doesn't open the app for 5 or more days, even using HKObserverQuery + enableBackgroundDelivery? Is there another way to make the sync reliable with an inactive app?
May ’26
Comment on Does HealthKit sync data when the app is terminated?
Hi, thank you so much for your answer! I mean, I need to send steps data from HealthKit (iPhone only, no watchOS) to my database on the server because I need to update it at least once a day to keep the leaderboard up to date. I'm already doing that using HKObserverQuery + enableBackgroundDelivery, but it doesn't seem to work for a specific case. My problem is: what happens if the user doesn't open the app for 5 or more days? Is there another way to make the sync reliable with an inactive app?
Replies
Boosts
Views
Activity
May ’26
Comment on Does HealthKit sync data when the app is terminated?
Hey, thank you so much for your answer! I mean, I need to send the steps data from HealthKit (iPhone only, no watchOS needed) to my database on the server because I need to update it at least once a day to keep the leaderboard up to date. It is already doing that, except for a specific case. My problem is: what happens if the user doesn't open the app for 5 or more days, even using HKObserverQuery + enableBackgroundDelivery? Is there another way to make the sync reliable with an inactive app?
Replies
Boosts
Views
Activity
May ’26