- included blood_pressure
- added body_position and location to blood_glucose on Android
- more complete support for nutrition on Android (not 100% of nutrients covered yet)
- updated version of HealthConnect SDK
- include route and heart rate in workouts, on iOS only
- partial support for nutrition on iOS and Android
- bugfixes
- added support for aggregate heart rate in iOS
- added function to open the Health app in both Android and iOS
- [Breaking change] removed setPrivacyPolicyURL in Android. Now the URL is placed in a resource xml file.
- [Breaking change] removed permissions for AndroidManifest.xml from plugin.xml, now permissions must be set in config.xml
- better explained how to setup Android project, particularly gradle
- added heart_rate in Android
- added support for sleep in Android
- refactoring of Android plugin: data types support split into separate files
- [Breaking change] the blood glucose meal should be now fasting_MEAL, where MEAL can be lunch, dinner, etc. By default fasting_ should go with unknown: fasting_unknown.
- added support for total calories
- added support for blood_glucose, distance and height
- redocumented support for gender, date_of_birth, bmi, mindfulness and UVexposure on iOS
- bugfixes
- bugfixes
- return ISO8601 when parsing dates from HealthKit
-
[Breaking change] plugin is now accessed from
cordova.plugins.healt
-
[Breaking change] authorization is asked using the
read
andwrite
properties only -
[Breaking change] total calories have been removed, now you either treat active or basal ones
-
[Breaking change] when querying for activities, you can specify
includeCalories
andincludeDistance
separately -
Added following activities:
-
bootcamp
-
stretching
-
dancing.cardio
-
exercise_class
-
strength_training.functional
-
guided_breathing
-
Removed following activities:
-
aerobics
-
biathlon
-
biking.hand
-
biking.mountain
-
biking.road
-
biking.spinning
-
biking.utility
-
circuit_training
-
diving
-
elevator
-
ergometer
-
escalator
-
functional_strength
-
gardening
-
housework
-
in_vehicle
-
interval_training
-
kayaking
-
kettlebell_training
-
kick_scooter
-
kitesurfing
-
martial_arts.mixed
-
on_foot
-
p90x
-
polo
-
running.jogging
-
running.sand
-
skateboarding
-
skating.cross
-
skating.indoor
-
skating.inline
-
skiing.back_country
-
skiing.kite
-
skiing.roller
-
sledding
-
sleep (all types)
-
snowmobile
-
standup_paddleboarding
-
still
-
stairs
-
team_sports
-
tilting
-
unknown
-
volleyball.beach
-
volleyball.indoor
-
wakeboarding
-
walking.fitness
-
walking.nordic
-
walking.treadmill
-
walking.stroller
-
treadmill
-
windsurfing
-
zumba
- added duration in activities when present (iOS)
- added flag
filterOutUserInput
on iOS - oxygen saturation on Android
- body temeprature on Android
- bumped version of Google Play APIs
- added separate sleep datatype for Android and iOS (API change)
- added sleep sessions in simple query for "sleep" data type for Android
- distance and calories are optional when querying activity (API change)
- bugfixing
- bugfixes
- added oxygen saturation for Android and iOS
- added weight circumference for iOS
- added blood pressure for iOS
- added BMI for iOS
- enable HealthKit automatically in iOS
- added separate sleep data from Google Fit
- updated activity types in iOS (removed depecrated ones and added new ones)
- fixed energy in activity when > 1000 Kcal
- increased Google APIs to Play: 19.0.0 and Fit: 20.0.0
- added read scope to write scope in Android
- added packages queries for Android
- updated README
- [Breaking change]: the date of birth and gender have been removed from GoogleFit custom datatypes, you need to store these using your app's persistent mechanism
- [Breaking change]: sourceName has been removed from GoogleFit
- bumped Google Fit API version to 19.0.0
- fixed bug with water consumption unit in Android
- allows longer durations of buckets in Android
- remove Java annotations
- added mindfulness, heart_rate.resting, resp_rate, vo2max, temperature, iOS only for now
- some bugfixes
- Google services version locked to specific version but changeable
- minor bugfix
- do not ask for read permission when storing workouts on iOS
- added heart rate variability (iOS only)
- added stairs (iOS only)
- support for latest Google Fit auth mechanism for health data
- added support for 'limit' in query() on Android too
- Android and iOS return the same object when queried for activity
- updated README
- added
filtered
flag to steps also for iOS (but only in aggregatedQuery) - added
appleExerciseTime
in datatypes (store and query) only on iOS - added support for blood pressure store and query on both Android and iOS
- updated README with better documentation
- minor bug fixes