I have an app that read data from HealthKit. I can read data from it successfully. However I noticed an issue. When the Health app is not open and I try to read data from it, HealthKit just returns old data, any new data like steps that I've just taken is not returned. So I wait for about 45 minutes, then the latest data is returned. BUT when I open HealthKit app at that time (instead of waiting 45 minutes), latest data is returned. I'm not sure if it would take sometimes for HealthKit to return latest data to 3rd party app, or we can force HealthKit to return latest data by openning Health app. Is this a bug?
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment