Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.