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?
Topic:
App & System Services
SubTopic:
Health & Fitness
Tags: