health 10.1.1 health: ^10.1.1 copied to clipboard
Wrapper for HealthKit on iOS and Google Fit and Health Connect on Android.
10.1.1 #
10.0.0 #
- BREAKING The plugin now works as a singleton using
Health()
to access it (instead of creating an instance ofHealthFactory
).- This entails that the plugin now need to be configured using the
configure()
method before use. - The example app has been update to demonstrate this new singleton model.
- This entails that the plugin now need to be configured using the
- Support for new data types:
- Fixed
SleepSessionRecord
, PR #928 - Update to API and README docs
- Upgrade to Dart 3.2 and Flutter 3.
- Added Dart linter and fixed a series of type casting issues.
- Using carp_serializable for consistent camel_case and type-safe generation of JSON serialization methods for polymorphic health data type classes.
9.0.0 #
- Updated HC to comply with Android 14, PR #834 and #882
- Added checks for NullPointerException, closes issue #878
- Updated intl to ^0.19.0
- Upgrade to AGP 8, PR #868
- Added missing google fit workout types, PR #836
- Added pagination in HC, PR #862
- Fix of permission in example app + improvements to doc, PR #875
8.1.0 #
8.0.0 #
7.0.1 #
- Updated dart doc
7.0.0 #
- Merged PR #722
- Added deep, light, REM, and out of bed sleep to iOS and Android HealthConnect
6.0.0 #
5.0.0 #
- Added initial support for the new Health Connect API, as Google Fit is being deprecated.
- Does not yet support
revokePermissions
,getTotalStepsInInterval
.
- Does not yet support
- Changed Intl package version dependency to
^0.17.0
to work with flutter stable version. - Updated the example app to handle more buttons.
4.6.0 #
- Added method for revoking permissions. On Android it uses
disableFit()
to remove access to Google Fit -revokePermissions
. Documented lack of methods for iOS.
4.5.0 #
- Updated android sdk, gradle
- Updated
enumToString
to native.name
- Update and fixed JSON serialization of HealthDataPoints
- Removed auth request in
writeWorkoutData
to avoid bug when denying the auth. - Merged pull requests #653, #652, #639, #644, #668
- Further developed #644 on android to accommodate having the
writeBloodPressure
api. - Small bug fixes
4.3.0 #
- upgrade to
device_info_plus: ^8.0.0
4.2.0 #
- upgrade to
device_info_plus: ^7.0.0
4.1.0 #
- update of
device_info_plus: ^4.0.0
- upgraded to Dart 2.17 and Flutter 3.0
4.0.0 #
- 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
3.4.2 #
3.4.0 #
3.2.1 #
- Updated
device_info_plus
version dependency
3.1.0 #
3.0.6 #
- Added two new fields to the
HealthDataPoint
-SourceId
andSourceName
and populate when data is read. This allows data points to be disambiguous 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 inaccurate result PR#281.
3.0.5 #
- Null safety in Dart has been implemented
- The plugin supports the Android v2 embedding
3.0.4 #
- Upgrade to
device_info
version 2.0.0
3.0.3 #
- Merged various PRs, mostly smaller fixes
3.0.2 #
- Upgrade to
device_info
version 1.0.0
3.0.1+1 #
- Bugfix regarding BMI from https://github.com/cph-cachet/flutter-plugins/pull/258
3.0.0 #
- 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.
2.0.9 #
- Now handles the case when asking for BMI on Android when no height data has been collected.
2.0.8 #
- Fixed a merge issue which had deleted the data types added in 2.0.4.
2.0.7 #
- Fixed a Google sign-in issue, and a type issue on Android (https://github.com/cph-cachet/flutter-plugins/issues/201)
2.0.6 #
- Fixed a Google sign-in issue. (https://github.com/cph-cachet/flutter-plugins/issues/172)
2.0.5 #
- Now uses 'device_info' rather than 'device_id' for getting device information
2.0.4+1 #
- Static analysis, formatting etc.
2.0.4 #
- Added Sleep data, Water, and Mindfulness.
2.0.3 #
- The method
requestAuthorization
is now public again.
2.0.2 #
- Updated the API to take a list of types rather than a single type, when requesting health data.
2.0.1+1 #
- Removed the need for try-catch on the programmer's end
2.0.1 #
- Removed UUID and instead introduced a comparison operator
2.0.0 #
- Changed the API substantially to allow for granular Data Type permissions
1.1.6 #
Added the following Health Types as per PR #147
- DISTANCE_WALKING_RUNNING
- FLIGHTS_CLIMBED
- MOVE_MINUTES
- DISTANCE_DELTA
1.1.5 #
- Fixed an issue with google authorization
- See https://github.com/cph-cachet/flutter-plugins/issues/133
1.1.4 #
- Corrected table of units
1.1.3 #
- Updated table with units
1.1.2 #
- Now supports the data type
HEART_RATE_VARIABILITY_SDNN
on iOS
1.1.1 #
- Fixed issue #88 (https://github.com/cph-cachet/flutter-plugins/issues/88)
1.1.0 #
- Introduced UUID to the HealthDataPoint class
- Re-did the example application
1.0.6 #
- Fixed a null-check warning in the obj-c code (issue #87)
1.0.5 #
- Updated gradle-wrapper distribution url
gradle-5.4.1-all.zip
- Updated docs
1.0.2 #
- Updated documentation for Android and Google Fit.
1.0.1 #
- Streamlined DataType units in Flutter.