flutter-plugins
flutter-plugins copied to clipboard
[Health 8.1.0] Support for Heart rate variability, Exercise time, Sleep in bed, and Distance walking/running in Health Connect
Description
There are a few data points that we are interested in collecting across both iOS and Android. What is the process for mapping the data between Apple Health and Health Connect?
The data we are interested in that aren't currently supported for Health Connect are the following. I'm also linking the closest Health Connect datatype I could find for each.
- HEART_RATE_VARIABILITY_SDNN (HeartRateVariabilityRMSSD HC provides root mean square of successive differences while HealthKit provides standard deviation)
- EXERCISE_TIME (ExerciseSession looks like we can aggregate ExerciseSessions to get exercise time)
- SLEEP_IN_BED (Sleep Type Sleeping STAGE_TYPE_SLEEPING looks like it measures the same thing as SLEEP_IN_BED)
- DISTANCE_WALKING_RUNNING (DistanceDelta The closest analog I could find was aggregating DistanceRecords to get DISTANCE_TOTAL)
Any help or ideas about how to integrate these data points with Health Connect would be appreciated.