health 0.1.0 copy "health: ^0.1.0" to clipboard
health: ^0.1.0 copied to clipboard

outdated

Wrapper for the iOS HealthKit and Android GoogleFit services.

health #

This library combines both GoogleFit and AppleHealthKit. It support most of the values provided.

Supports iOS and Android X

Data Types #

Data Type Available on iOS Available on Android Comments
BODY_FAT yes yes
HEIGHT yes yes
WEIGHT yes yes
BODY_MASS_INDEX yes yes
WAIST_CIRCUMFERENCE yes
STEPS yes yes
BASAL_ENERGY_BURNED yes
ACTIVE_ENERGY_BURNED yes yes
HEART_RATE yes yes
BODY_TEMPERATURE yes yes
BLOOD_PRESSURE_SYSTOLIC yes yes
BLOOD_PRESSURE_DIASTOLIC yes yes
RESTING_HEART_RATE yes
WALKING_HEART_RATE yes
BLOOD_OXYGEN yes yes
BLOOD_GLUCOSE yes yes
ELECTRODERMAL_ACTIVITY yes Requires Apple Watch
HIGH_HEART_RATE_EVENT yes Requires Apple Watch
LOW_HEART_RATE_EVENT yes Requires Apple Watch
IRREGULAR_HEART_RATE_EVENT yes Requires Apple Watch

Setup #

Apple HealthKit #

Step 1: Append the Info.plist with the following 2 entries

<key>NSHealthShareUsageDescription</key>
<string>We will sync your data with the Apple Health app to give you better insights</string>
<key>NSHealthUpdateUsageDescription</key>
<string>We will sync your data with the Apple Health app to give you better insights</string>

Step 2: Enable "HealthKit" inside the "Capabilities" tab.

Google Fit #

Follow this setup.

Android X #

Replace the content of the android/gradle.properties file with the following lines:

org.gradle.jvmargs=-Xmx1536M
android.enableJetifier=true
android.useAndroidX=true
548
likes
0
pub points
98%
popularity

Publisher

verified publishercachet.dk

Wrapper for the iOS HealthKit and Android GoogleFit services.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on health