PackageTrack
Sign in Get early access

health

Wrapper for Apple's HealthKit on iOS and Google's Health Connect on Android.

13.3.2 139K downloads/mo #988 most downloaded on pub.dev carp-dk/carp-health-flutter

What this package is like to depend on

Last release 9 days ago

14 Aug 2026

Release timing varies

gaps range from 1 weeks to 6 months

Most releases are documented

notes for 78 of 90 stable releases

1 version withdrawn

withdrawn after publishing

7 years old

91 releases · first in 2019

6 releases in the last 12 months

see the full history below

Release timeline

91 releases · Nov 2019 to Aug 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 91
  1. 13.3.2 14 Aug 2026
    Release notes
    • Write data now returns UUID of records - PR #448
    • Fix #502
    • iOS: Fix #480 - PR #504 - the native plugin class is now HealthPlugin (previously SwiftHealthPlugin behind an Objective-C shim) - apps using the generated plugin registrant are unaffected
    • iOS: Raise the minimum deployment target to 15.0
    Open source →
  2. 13.3.1 06 Feb 2026
    Release notes
    • iOS: Fix issues with app crashing on iOS 15
    • iOS: Add support for AppleSleepingWristTemperature - PR #468
    • Android: Add support for SkinTemperatureRecord (READ/WRITE)
    Open source →
  3. 13.3.0 25 Jan 2026
    Release notes
    • Add support for WORKOUT_ROUTE - PR #454
    • Android: Add support for ActivityIntensityRecord (READ/WRITE/Aggregate)
    • Update to androidx.health.connect:connect-client:1.2.0-alpha02
    Open source →
  4. 13.2.1 14 Oct 2025
    Release notes

    No changes - Now the Health package lives in its own repository at https://github.com/carp-dk/carp-health-flutter

    Open source →
  5. 13.2.0 16 Sep 2025
    Release notes
    • Add get health data by UUID (see getHealthDataByUUID()) - PR #1193, #1194
    • Add delete by UUID (deleteByUUID())
    • Add support for unit conversion in WeightRecord, HeightRecord, BodyTemperatureRecord, and BloodGlucoseRecord - PR #1212
    • Update compileSDK to 36 - Fix #1261
    • Update Gradle to 8.9.1
    • Update org.jetbrains.kotlin.android to 2.1.0
    • Update androidx.health.connect:connect-client to 1.1.0-rc03
    • Update device_info_plus to 12.1.0 - Fix #1264
    Open source →
  6. 13.1.4 29 Aug 2025
    Release notes
    • Fix adding mindfulness resulted in crash in iOS
    • Support SPM for iOS
    Open source →
  7. 13.1.3 26 Aug 2025
    Release notes
    • Fix permissions issues with iOS
    • Fix #1231
    Open source →
  8. 13.1.2 25 Aug 2025
    Release notes
    Open source →
  9. 13.1.1 24 Jun 2025
    Release notes
    • Fix #1207 - (Important: Some property names might have changed compared to before for Nutrition)
    • Fix #1201
    • iOS: Add APPLE_STAND_TIME, APPLE_STAND_HOUR, and APPLE_MOVE_TIME health data types (READ ONLY) #1190
    Open source →
  10. 13.1.0 12 Jun 2025
    Release notes
    • Refactored Android native implementation (No Flutter API changes)
    • Android: Add SPEED health data type - PR #1183
    • iOS: Add WALKING_SPEED health data type - PR #1183
    • Add METER_PER_SECOND health data unit
    Open source →
  11. 13.0.1 03 Jun 2025
    Release notes
    • Refactored Swift native implementation - See PR #1175 and #1208 for more information:
    SwiftHealthPlugin (Main Plugin Class)
    ├── HealthDataReader (Reading health data)
    ├── HealthDataWriter (Writing health data)
    ├── HealthDataOperations (Permissions and deletion)
    ├── HealthUtilities (Helper functions)
    └── HealthConstants (Constants and enums)
    
    Open source →
  12. 13.0.0 03 Jun 2025
    Release notes
    • Refactored Swift native implementation
    Open source →
  13. 12.2.1 02 Jun 2025
    Release notes
    • iOS: Add swift_version for add-to-app implementations - PR #1205
    Open source →
  14. 12.2.0 30 Apr 2025
    Release notes
    • iOS: Add deviceModel in returned Health data to identify the device that generated the data of the receiver. (in iOS source_name represents the revision of the source responsible for saving the receiver.)
    • Android: Add read health data in background - PR #1184
    • Fix #1169 where meal_type property in Nutrition was null always
    • iOS: Add CARDIO_DANCE HealthDataType - #1146
    Open source →
  15. 12.1.0 17 Mar 2025
    Release notes
    • Add delete record by UUID method. See function deleteByUUID(required String uuid, HealthDataType? type)
    • iOS: Parse metadata to remove unsupported types - PR #1120
    • iOS: Add UV Index Types
    • Android: Add request access to historic data #1126 - PR #1127
    <!-- Add the following permission into AndroidManifest.xml -->
    <uses-permission android:name="android.permission.health.READ_HEALTH_DATA_HISTORY"/>
    
    • Android:
      • Update androidx.compose:compose-bom to 2025.02.00
      • Update androidx.health.connect:connect-client to 1.1.0-alpha11
      • Update androidx.fragment:fragment-ktx to 1.8.6
      • Update to Java 11
    • Update example apps
    Open source →
  16. 12.0.1 16 Jan 2025
    Release notes
    • Update of API and README doc
    • Fix #1118
    Open source →
  17. 12.0.0 15 Jan 2025
    Release notes
    • BREAKING This release introduces a significant architectural change to the health plugin by removing the singleton pattern.

      • Dependency Injection for DeviceInfoPlugin:
      • The Health class is no longer a singleton.
      • The Health() factory constructor is removed.
      • The Health class now accepts an (optional) DeviceInfoPlugin dependency through its constructor, this change was introduced to provide easy mocking of the DeviceInfo class during unit tests.
      • This architectural change means that, for the application to work correctly, the Health class MUST be initialized correctly as a global instance.
      • Impact:
        • For most users, no immediate code changes are required but it is paramount to initialize the Health class as a global instance (i.e. do not call Health() every time but rather define an instance final health = Health();).
    • BREAKING (Android) Remove automatic permission request of DISTANCE_DELTA and TOTAL_CALORIES_BURNED data types when requesting permission for WORKOUT health data type.

      • For WORKOUTs that require above permissions, now those need to be requested manually.
      • Fix #984 - PR #1055
    • Add LEAN_BODY_MASS data type #1078 - PR #1097

      • The following AndroidManifest values are required to READ/WRITE LEAN_BODY_MASS:
      <uses-permission android:name="android.permission.health.READ_LEAN_BODY_MASS"/>
      <uses-permission android:name="android.permission.health.WRITE_LEAN_BODY_MASS"/>
      
    • iOS: Add WATER_TEMPERATURE and UNDERWATER_DEPTH health values #1096

    • iOS: Add support for Underwater Diving workout #1096

    • Fix #1072 and #1074

    • Fix issue where iOS delete not deleting own records - PR #1104

    • Fix #950 - PR #1103

    • Fix #1047 and #939 - PR #1091

    • Fix issue where SLEEP_LIGHT type was not aligned correctly - PR #1086

    • Fix #1051 - PR #1052

    • Updated intl to ^0.20.1 #1092

    • Updated device_info_plus to ^11.2.0

    • Example app: Updated permission_handler to ^11.3.1

    Open source →
  18. 11.1.1 28 Nov 2024
    Release notes
    Open source →
  19. 11.1.0 23 Sep 2024
    Release notes
    • Fix of #1043
    • Type-safe JSON deserialization using carp_serializable v. 2.0
    Open source →
  20. 11.0.0 30 Aug 2024
    Release notes
    • BREAKING Remove Google Fit support in the Android code, as well as Google FIt related dependencies and references throughout the documentation
      • Remove useHealthConnectIfAvailable from the parameters of Health().configure()
      • Remove the disconnect method which was previously used to disconnect from Google Fit.
      • Remove the flowRate value from writeBloodOxygen as this is not supported by Health Connect.
      • Remove support for various HealthWorkoutActivityTypes which were supported by Google Fit. Some of these do not have suitable alternatives in Google Health Connect (and are not supported on iOS). The list of removed types can be found in PR #1014
    • BREAKING introduce a new RecordingMethod enum
      • This can be used to filter records by automatic or manual entries when fetching data
      • You can also specify the recording method to write in the metadata
      • Remove isManualEntry from HealthDataPoint in favor of recordingMethod, of which the value is an enum RecordingMethod
      • Remove includeManualEntry (previously a boolean) from some of the querying methods in favor of recordingMethodsToFilter.
      • For complete details on relevant changes, see the description of PR #1023
    • Add support for all sleep stages across iOS and Android
      • Clean up relevant documentation
      • Remove undocumented sleep stages
      • BREAKING certain sleep stages were removed/combined into other related stages see PR #1026 for the complete list of changes and a discussion of the motivation in issue #985
    • Android: Add support for OTHER workout type
    • Cleaned up workout activity types for consistency across iOS and Android, see PR #1020 for a complete list of changes
    • iOS: add support for menstruation flow, PR #1008
    • Android: Add support for heart rate variability, PR #1009
    • iOS: add support for atrial fibrillation burden, PR #1031
    • Add support for UUIDs in health records for both HealthKit and Health Connect, PR #1019
    • Fix an issue when querying workouts, the native code could respond with an activity that is not supported in the Health package, causing an error - this will fallback to HealthWorkoutActivityType.other - PR #1016
    • Remove deprecated Android v1 embeddings, PR #1021
    Open source →
  21. 10.2.0 03 Apr 2024
    Release notes
    • Using named parameters in most methods for consistency.
    • Added a HealthPlatformType to save which health platform the data originates from (Apple Health, Google Fit, or Google Health Connect).
    • Android: Improved support for Google Health Connect
      • getHealthConnectSdkStatus, PR #941
      • installHealthConnect, PR #943
      • workout title, PR #938
    • iOS: Add support for saving blood pressure as a correlation, PR #919
    Open source →
  22. 10.1.1 30 Mar 2024
    Release notes
    • Fix of error in WorkoutSummary JSON serialization.
    • Fix of #934
    • Empty value check for calories nutrition, PR #926
    Open source →
  23. 10.1.0 30 Mar 2024

    Nothing published for this version

  24. 10.0.0 29 Mar 2024
    Release notes
    • BREAKING The plugin now works as a singleton using Health() to access it (instead of creating an instance of HealthFactory).
      • 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.
    • Support for new data types:
      • body water mass, PR #917
      • caffeine, PR #924
      • workout summary, manual entry and new health data types, PR #920
    • 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.
    Open source →
  25. 9.0.1 12 Feb 2024

    Nothing published for this version

  26. 9.0.0 31 Jan 2024
    Release notes
    • 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
    Open source →
  27. 8.2.0 31 Jan 2024 withdrawn

    Nothing published for this version

  28. 8.1.0 23 Nov 2023
    Release notes
    • Fixed sleep stages on iOS, Issue #803
    • Added Nutrition data type, includes PR #679
    • Lowered minSDK, Issue #809
    Open source →
  29. 8.0.0 14 Aug 2023
    Release notes
    • Fixed issue #774, #779
    • Merged PR #579, #717, #770
    • Upgraded to mavenCentral, upgraded minSDK, compileSDK, targetSDK
    • Updated health connect client to 1.1.0
    • Added respiratory rate and peripheral perfusion index to HealthConnect
    • Minor fixes to requestAuthorization, sleep stage filtering
    Open source →
  30. 7.0.1 04 Jul 2023
    Release notes
    • Updated dart doc
    Open source →
  31. 7.0.0 26 Jun 2023
    Release notes
    • Merged PR #722
    • Added deep, light, REM, and out of bed sleep to iOS and Android HealthConnect
    Open source →
  32. 6.0.0 21 Apr 2023
    Release notes
    • Fixed issues #694, #696, #697, #698
    • added totalSteps for HealthConnect
    • added supplemental oxygen flow rate for blood oxygen saturation on Android
    Open source →
  33. 5.0.0 30 Mar 2023
    Release notes
    • 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 dependency to ^0.17.0 to work with flutter stable version.
    • Updated the example app to handle more buttons.
    Open source →
  34. 4.6.0 09 Mar 2023
    Release notes
    • Added method for revoking permissions. On Android it uses disableFit() to remove access to Google Fit - revokePermissions. Documented lack of methods for iOS.
    Open source →
  35. 4.5.0 09 Feb 2023
    Release notes
    • 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
    Open source →
  36. 4.4.0 05 Dec 2022
    Release notes
    Open source →
  37. 4.3.0 29 Oct 2022
    Release notes
    • upgrade to device_info_plus: ^8.0.0
    Open source →
  38. 4.2.0 21 Oct 2022
    Release notes
    • upgrade to device_info_plus: ^7.0.0
    Open source →
  39. 4.1.1 06 Jul 2022
    Release notes
    Open source →
  40. 4.1.0 29 Jun 2022
    Release notes
    • update of device_info_plus: ^4.0.0
    • upgraded to Dart 2.17 and Flutter 3.0
    Open source →
  41. 4.0.0 01 Jun 2022
    Release notes
    • 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
    Open source →
  42. 3.4.4 09 Mar 2022
    Release notes
    • Fix of #500.
    • Added Headache-types to HealthDataTypes on iOS
    Open source →
  43. 3.4.3 10 Jan 2022
    Release notes
    Open source →
  44. 3.4.2 10 Jan 2022
    Release notes
    • Resolved concurrent issues with native threads PR#483.
    • HealthKit CategorySample PR#485.
    • update of API documentation.
    Open source →
  45. 3.4.1 09 Jan 2022

    Nothing published for this version

  46. 3.4.0 29 Dec 2021
    Release notes
    • 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 reflect new features.
    • update of API documentation.
    Open source →
  47. 3.3.1 18 Nov 2021
    Release notes
    • DISTANCE_DELTA is for Android, not iOS PR#428.
    • added missing READ_ACCESS PR#454.
    Open source →
  48. 3.3.0 15 Nov 2021
    Release notes
    • Write support on Google Fit and HealthKit PR#430.
    Open source →
  49. 3.2.1 15 Oct 2021
    Release notes
    • Updated device_info_plus version dependency
    Open source →
  50. 3.2.0 06 Oct 2021
    Release notes
    • added simple HKWorkout and ExerciseTime support PR#421.
    Open source →
  51. 3.1.1 09 Aug 2021

    Nothing published for this version

  52. 3.1.1+1 09 Aug 2021
    Release notes
    • added functions to request authorization PR#394
    Open source →
  53. 3.1.0 23 Jul 2021
    Release notes
    • 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
    Open source →
  54. 3.0.6 17 May 2021
    Release notes
    • Added two new fields to the HealthDataPoint - SourceId and SourceName 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.
    Open source →
  55. 3.0.5 03 Apr 2021
    Release notes
    • Null safety in Dart has been implemented
    • The plugin supports the Android v2 embedding
    Open source →
  56. 3.0.4 27 Mar 2021
    Release notes
    • Upgrade to device_info version 2.0.0
    Open source →
  57. 3.0.3 30 Jan 2021
    Release notes
    • Merged various PRs, mostly smaller fixes
    Open source →
  58. 3.0.2 25 Jan 2021
    Release notes
    • Upgrade to device_info version 1.0.0
    Open source →
  59. 3.0.1 09 Jan 2021

    Nothing published for this version

  60. 3.0.1+1 09 Jan 2021
    Release notes Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive