The Flutter health package relies on the iOS HealthKit framework to access health data. The HealthKit framework is designed to preserve user privacy and data security by limiting access to certain data types and requiring user authorization for each data access request.
One of the limitations of the HealthKit framework is that it does not allow constant monitoring or streaming of real-time health data. Instead, the framework provides periodic updates on designated intervals, typically once per minute or less frequently.
Therefore, the Flutter health package cannot provide real-time data on iOS devices due to the limitations of the HealthKit framework. To get updated data, the user needs to either reopen the app or switch between their app and the iOS Health app.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-02-14 11:00:00 +0000
Seen: 7 times
Last updated: Sep 22 '22
What could be the reason for the node app not functioning on Namecheap hosting?
How does rate limiting work for Azure Function in .NET 7?
How to identify the screen location of the mouse pointer in an electron app?
What is missing since the androidmanifest.xml file is not present?
When attempting to launch my Android app, why does my AVD open YouTube instead?
How can I set up a subdomain for Apple app site association?
What is the appropriate size for App store screenshots on a 6.5" display?