react-native-health-connect
react-native-health-connect copied to clipboard
How can I synchronize data from HealthConnect so that any changes to the data automatically update the UI?
Describe how can I implement an observer for HealthConnect?
You can use headless js and WorkManager on Android to periodically run non-UI background tasks.
Here is the example:
https://github.com/matinzd/react-native-health-connect/commit/1f89c83fbb6983b5f774ddcd113c399bbefaef1f