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

Wrapper for HealthKit on iOS and Google Fit and Health Connect on Android.

5.0.0 #

  • Added initial support for the new Health Connect API, as Google Fit is being deprecated.
    • Does not yet support revokePermissions, getTotalStepsInInterval.
  • Changed Intl package version dependancy 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.4.0 #

4.3.0 #

  • upgrade to device_info_plus: ^8.0.0

4.2.0 #

  • upgrade to device_info_plus: ^7.0.0

4.1.1 #

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 generic HealthValue and added NumericHealthValue, AudiogramHealthValue and WorkoutHealthValue
  • Added support for Audiograms with writeAudiogram and in getHealthDataFromTypes
  • Added support for Workouts with writeWorkout and in getHealthDataFromTypes
  • Added all HealthWorkoutActivityTypes
  • 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 of requestAuthorization

3.4.4 #

  • Fix of #500.
  • Added Headache-types to HealthDataTypes on iOS

3.4.3 #

3.4.2 #

  • Resolved concurrent issues with native threads PR#483.
  • Healthkit CategorySample PR#485.
  • update of API documentation.

3.4.0 #

  • 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.

3.3.1 #

  • DISTANCE_DELTA is for Android, not iOS PR#428.
  • added missing READ_ACCESS PR#454.

3.3.0 #

  • Write support on Google Fit and HealthKit PR#430.

3.2.1 #

  • Updated device_info_plus version dependency

3.2.0 #

  • added simple HKWorkout and ExerciseTime support PR#421.

3.1.1+1 #

  • added functions to request authorization PR#394

3.1.0 #

  • 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

3.0.6 #

  • Added two new fields to the HealthDataPoint - SourceId and SourceName 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.

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 #

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 #

2.0.6 #

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.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 #

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 #

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.
492
likes
0
pub points
97%
popularity

Publisher

verified publishercachet.dk

Wrapper for HealthKit on iOS and Google Fit and Health Connect on Android.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

device_info_plus, flutter, intl

More

Packages that depend on health