Closed mariofrei closed 2 months ago
Reporting of HealthKit data in regular intervals is not possible because HealthKit data is only accessible if the Apple Watch or the iPhone is unlocked. (Source: https://stackoverflow.com/questions/30361033/healthkit-data-inaccessible-in-background)
Is your feature request related to a problem? Please describe. Currently, time-series data, e.g., heart rate, is retrieved from the Apple Health Store when the app is opened on the phone. It would be nice if this data could be reported at regular intervals, e.g., every 10 minutes.
Describe the solution you'd like This could be done by defining a background task or with silent notifications. See here for more information: https://stackoverflow.com/questions/6255142/how-to-execute-a-function-in-background-at-specific-intervals-in-ios
Describe alternatives you've considered -
Additional context -