health_connector 2.4.0 copy "health_connector: ^2.4.0" to clipboard
health_connector: ^2.4.0 copied to clipboard

The most comprehensive Flutter health plugin for seamless iOS HealthKit and Android Health Connect integration.

2.4.0 #

  • FEAT: Expose logger through main package exports. (003a98b8)
  • FEAT: Centralize Dart, Swift, and Kotlin logging in Flutter layer. (6e071974)
  • REFACTOR: Remove sensitive data from logs. (bbde572c) (8a8ee3ea)
  • FIX: Set supported on iOS Apple Health only for nutrient data types. (e8796482)
  • FIX: Fix infinite mapping loop when convert measurement unit DTO to domain model. (93cce205)

2.3.2 #

  • FIX: Add missing time zone offset DTO fields and correct offset mapping logic. (26b1253c)
  • FIX: Set BasalEnergyBurnedHealthDataType as supported on Apple Health only. (550cdb56)

2.3.1 #

  • DOC: Update README.md documentation. (92b74719)

2.3.0 #

  • FEAT(health_connector_hc_android): Implement launching health app page in platform's app store. (fcc93efc)

2.2.0 #

  • FEAT: Add support for menstrual flow data types. (178f272f)
  • FEAT(health_connector_hc_android): Add support for body water mass, bone mass, and heart rate variability RMSSD data types. (321d4811)
  • FEAT(health_connector_hk_ios): Add support for body mass index, waist circumference, and heart rate variability SDNN data types. (1d3244c5)
  • FEAT: Add support for intermenstrual bleeding data type. (d629f8d1)
  • FEAT: Add support for basal body temperature data type. (4b0120c6)
  • FEAT: Add support for basal energy burned (iOS) and total calories burned (Android) data types. (e2ecc6b9)
  • FEAT: Add support for ovulation test result data type. (a8f3b69a)
  • FEAT: Add support for cycling pedaling cadence data types. (8a7c1830)

2.1.0 #

  • FEAT: Add support for sexual activity and cervical mucus data types. (972ea406)
  • FEAT: Add support for mindfulness session type and record. (d0490c9d)
  • FEAT: Add support for power data types. (af790b23)
  • FIX(health_connector_hk_ios): Persist blood pressure body position and measurement location data in custom metadata keys. (32ae4e7e)
  • FIX: Ensure health record timestamps are stored as UTC. (7f981fc2)

2.0.0 #

Note: This release has breaking changes.

See the Migration Guide for detailed instructions on upgrading from v1.x.x to v2.0.0.

  • BREAKING FEAT: Introduce TimeDuration unit and replace Number with it for sleep data types. (459798dd)
  • BREAKING FEAT: Introduce HealthConnector interface with defaultHealthConnectorImpl` implementation. (5bbe4f8c)
  • BREAKING FEAT: Unify deletion API with polymorphic request pattern. (f67cf5ae)
  • BREAKING REFACTOR: Remove support for "delete-then-create" logic for iOS HealthKit. (e79b1772)
  • BREAKING REFACTOR: Simplify aggregate and readRecord APIs by removing request/response wrappers. (31673d12)
  • BREAKING REFACTOR: Remove support for individual nutrient data types on Android Health Connect. (a9f7c9e4)
  • BREAKING REFACTOR: Standardize and synchronize error codes across platforms. (121df395)
  • FEAT: Implement atomic batch writes on iOS HealthKit and Android Health Connect. (9dbbd181) (c1c8c3df)
  • FEAT: Add support for exercise session data type. (d36b528c)
  • FEAT: Add updateRecords API for batch record updates. (04e5463e)
  • FEAT: Implement HealthConnectorInfiPListService for validating the application's Info.plist configuration. (7846492f)
  • FEAT: Add full support for distance records and data types. (84e27c08)
  • FEAT: Add full support for speed records and data types. (f07714db)
  • PERF: Use HealthKit batch delete API instead of for-loop deletion. (b4159af1)
  • FIX: Preserve record IDs in Health Connect update operations. (298f98f0)
  • FIX: Implement missing health record objects deletion for correlation sample types. (655d865e)
  • FIX: Fix IDs validation in DeleteRecordsByIdsRequest factory constructor. (d37817e5)

1.4.0 #

1.3.0 #

1.2.2 #

  • DEPS: Update health_connector_lint to the latest version.

1.2.1 #

  • FIX: Map blood pressure types to corresponding HealthKit types. (ff057529)

1.2.0 #

  • FEAT: Add support for blood pressure data types.

1.1.0 #

  • FEAT: Add support for nutrient and nutrition records and data types. (77e3a8d0)

1.0.0 #

  • FEAT: Implement HealthConnector facade providing unified API across platforms.
  • FEAT: Add support for common health data types.
16
likes
150
points
441
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The most comprehensive Flutter health plugin for seamless iOS HealthKit and Android Health Connect integration.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

flutter, health_connector_core, health_connector_hc_android, health_connector_hk_ios, health_connector_logger, meta

More

Packages that depend on health_connector