- Large refactor of the
HealthDataPoint
value into genericHealthValue
and addedNumericHealthValue
,AudiogramHealthValue
andWorkoutHealthValue
- Added support for Audiograms with
writeAudiogram
and ingetHealthDataFromTypes
- Added support for Workouts with
writeWorkout
and ingetHealthDataFromTypes
- Added all
HealthWorkoutActivityType
s - Added more
HealthDataUnit
types - Fix of #432
- updated documentation in code
- updated documentation in README.md
- updated example app
- cleaned up code
- removed
requestPermissions
as it was essentially a duplicate ofrequestAuthorization
- Fix of #500.
- Added Headache-types to HealthDataTypes on iOS
- fix of #401.
- Resolved concurrent issues with native threads PR#483.
- Healthkit CategorySample PR#485.
- update of API documentation.
- Add sleep in bed to android PR#457.
- Add the android.permission.ACTIVITY_RECOGNITION setup to the README PR#458.
- Fixed (regression) issues with metric and permissions PR#462.
- Get total steps PR#471.
- update of example app to refelct new features.
- update of API documentation.
- Write support on Google Fit and HealthKit PR#430.
- Updated
device_info_plus
version dependency
- added simple
HKWorkout
andExerciseTime
support PR#421.
- added functions to request authorization PR#394
- added sleep data to Android + fix of permissions and initialization PR#372
- testability of HealthDataPoint PR#388.
- update to using the
device_info_plus
plugin
- Added two new fields to the
HealthDataPoint
-SourceId
andSourceName
and populate when data is read. This allows datapoints to be disambigous and in some cases allows us to get more accurate data. For example the number of steps can be reported from Apple Health and Watch and without source data they are aggregated into just "steps" producing an innacurate result PR#281.
- Null safety in Dart has been implemented
- The plugin supports the Android v2 embedding
- Upgrade to
device_info
version 2.0.0
- Merged various PRs, mostly smaller fixes
- Upgrade to
device_info
version 1.0.0
- Bugfix regarding BMI from cph-cachet/flutter-plugins#258
- Changed the flow for requesting access and reading data
- Access must be requested manually before reading
- This simplifies the data flow and makes it easier to reason about when debugging
- Data read access is no longer checked for each individual type, but rather on the set of types specified.
- Now handles the case when asking for BMI on Android when no height data has been collected.
- Fixed a merge issue which had deleted the data types added in 2.0.4.
- Fixed a Google sign-in issue, and a type issue on Android (cph-cachet/flutter-plugins#201)
- Fixed a Google sign-in issue. (cph-cachet/flutter-plugins#172)
- Now uses 'device_info' rather than 'device_id' for getting device information
- Static analysis, formatting etc.
- Added Sleep data, Water, and Mindfulness.
- The method
requestAuthorization
is now public again.
- Updated the API to take a list of types rather than a single type, when requesting health data.
- Updated the API to take a list of types rather than a single type, when requesting health data.
- Removed the need for try-catch on the programmer's end
- Removed UUID and instead introduced a comparison operator
- Changed the API substantially to allow for granular Data Type permissions
Added the following Health Types as per PR #147
- DISTANCE_WALKING_RUNNING
- FLIGHTS_CLIMBED
- MOVE_MINUTES
- DISTANCE_DELTA
- Fixed an issue with google authorization
- See cph-cachet/flutter-plugins#133
- Corrected table of units
- Updated table with units
- Now supports the data type
HEART_RATE_VARIABILITY_SDNN
on iOS
- Fixed issue #88 (cph-cachet/flutter-plugins#88)
- Introduced UUID to the HealthDataPoint class
- Re-did the example application
- Fixed a null-check warning in the obj-c code (issue #87)
- Updated gradle-wrapper distribution url
gradle-5.4.1-all.zip
- Updated docs
- Updated documentation for Android and Google Fit.
- Streamlined DataType units in Flutter.