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

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

3.8.0 #

  • FEAT: Add support for exercise session route. (ecbe4f0a)

3.7.0 #

  • FEAT: Add support for exercise session events. (3feda513)

3.6.0 #

  • FEAT(health_connector_hk_iOS): Add support for peak expiratory flow rate data type. (4e6c7145)
  • FEAT(health_connector_hk_iOS): Add support for headphone audio exposure event data type. (9deb01f3)
  • FEAT(health_connector_hk_iOS): Add support for headphone audio exposure data type. (c670cb6f)
  • FEAT(health_connector_hk_iOS): Add support for environmental audio exposure data type. (a337fb61)
  • FEAT(health_connector_hk_iOS): Add support for low environmental audio exposure event data type. (a629a7c1)
  • FEAT(health_connector_hk_iOS): Add support for low cardio fitness event data type. (0ae65a47)
  • FEAT(health_connector_hc_Android): Add support for menstruation period data type. (d45c46b9)
  • FEAT(health_connector_hc_Android): Add support for skin temperature data type. (d757efdc) (f3c49796)
  • FEAT(health_connector_hc_Android): Add support for basal metabolic rate data type. (871e4cf7)

3.5.1 #

  • DOC: Add retraction notice for v3.3.0 and v3.4.0 in changelog. (6041450f)

3.5.0 #

Note: This release has a minor breaking change.

  • FEAT(health_connector_hk_iOS): Add support for running stride length and ground contact data types. (204aa90b) (e1031455)
  • FEAT(health_connector_hk_iOS): Add support for heart rate recovery one minute data type. (6659d324) (e1031455)
  • FEAT(health_connector_hk_iOS): Add support for inhaler usage data type. (85b48b3e) (e1031455)
  • FEAT(health_connector_hk_iOS): Add support for electrodermal activity data type. (01287c2e) (e1031455)
  • FEAT(health_connector_hk_iOS): Add support for insulin delivery data type. (18970e7b) (e1031455)
  • FEAT(health_connector_hk_iOS): Add support for number of times fallen data type. (1dcfc1ca) (e1031455)
  • BREAKING FIX: Use correct measurement unit types for health record aggregation results. (273025e3)
    • Aggregation method return types changed from AggregateRequest<Number> to properly typed measurement units:
      • AggregateRequest<Frequency> for:
        • HeartRateDataType
        • HeartRateSeriesDataType
        • RestingHeartRateDataType
        • HeartRateRecoveryOneMinuteDataType
        • CyclingPedalingCadenceDataType
        • CyclingPedalingCadenceSeriesDataType
        • RespiratoryRateDataType
      • AggregateRequest<TimeDuration> for:
        • HeartRateVariabilitySDNNDataType
    • The plugin primarily relies on type inference, so you won’t need to change any aggregation request/response code.

3.4.0 #

RETRACTED: This release added new data types but depended on an outdated health_connector_hc_android version that didn’t yet handle them. This could lead to build failures.

Please use v3.5.0.

See: Issue #120

  • FEAT(health_connector_hk_iOS): Add support for forced expiratory volume data type. (4abcf879)
  • FEAT(health_connector_hk_iOS): Add support for walking heart rate average data type. (bf3d2e26)
  • FEAT(health_connector_hk_iOS): Add support for atrial fibrillation burden data type. (9c9048c8)
  • FEAT(health_connector_hk_iOS): Add support for prolonged menstrual period event data type. (419d825c)
  • FEAT(health_connector_hk_iOS): Add support for persistent intermenstrual bleeding event data type. (125df1d2)
  • FEAT(health_connector_hk_iOS): Add support for irregular menstrual cycle event data type. (ff15998d)
  • FEAT(health_connector_hk_iOS): Add support for infrequent menstrual cycle event data type. (e4f533fe)
  • FEAT(health_connector_hk_iOS): Add support for walking steadiness event data types. (6e140efb)

3.3.0 #

RETRACTED: This release added new data types but depended on an outdated health_connector_hc_android version that didn’t yet handle them. This could lead to build failures.

Please use v3.5.0.

See: Issue #120

  • FEAT(health_connector_hk_iOS): Add support for high heart event data type. (8125ab49)
  • FEAT(health_connector_hk_iOS): Add support for low heart event data type. (8125ab49)
  • FEAT(health_connector_hk_iOS): Add support for irregular heart rhythm event data type. (8125ab49)

3.2.0 #

  • FEAT(health_connector_hk_ios): Add support for sleeping wrist temperature data type. (db9b4993)
  • FEAT(health_connector_hk_ios): Add support for walking step length data type. (f3f9bfac)
  • FEAT(health_connector_hk_ios): Add support for Apple walking double support percentage data type. (fafc83d0)
  • FEAT(health_connector_hk_ios): Add support for Apple walking asymmetry percentage data type. (bd6592ea)
  • FEAT(health_connector_hk_ios): Add support for Apple walking steadiness data type. (11147080)
  • FEAT(health_connector_hk_ios): Add support for Apple stand time data type. (bd654375)
  • FEAT(health_connector_hk_ios): Add support for Apple move time data type. (72fa7772)
  • FEAT(health_connector_hk_ios): Add support for Apple exercise time data type. (11bf1067)
  • FEAT(health_connector_hc_android): Add support for activity intensity data type. (153e6a7f)

3.1.0 #

  • FEAT(health_connector_hk_ios): Add support for forced vital capacity data type. (fc61f630)
  • FEAT(health_connector_hk_ios): Add support for peripheral perfusion index data type. (d65e7a64)
  • FEAT(health_connector_hk_ios): Add support for blood alcohol content data type. (b51edfa3)
  • FEAT(health_connector_hk_ios): Add support for swimming strokes data type. (003e3962)
  • FEAT(health_connector_hk_ios): Add support for alcoholic beverages data type. (f181f0c8)
  • FEAT(health_connector_hk_ios): Add support for contraceptive data type. (bb1c4a2b)
  • FEAT(health_connector_hk_ios): Add support for pregnancy data type. (cd76cadd)
  • FEAT(health_connector_hk_ios): Add support for lactation data type. (7bc3e945)
  • FEAT(health_connector_hk_ios): Add support for progesterone test data type. (85da283d)
  • FEAT(health_connector_hk_ios): Add support for pregnancy test data type. (7cfc4ed2)
  • FEAT(health_connector_hk_ios): Add support for running power data type. (2a27d5d7)
  • FEAT(health_connector_hc_android): Add support for elevation gained data type. (9e6b1ddf)
  • FEAT(health_connector_hc_android): Add support for steps cadence data type. (7e82ea09)

3.0.1 #

  • FIX: Add missing device parameter to manualEntry factory. (81ada9ed)
  • PERF: Flatten Pigeon DTO to improve communication performance between Flutter and native layers. (cca96c1d)

3.0.0 #

Note: This release has breaking changes.

See the Migration Guide v2.x.x → v3.0.0.

  • FEAT: Add new ExperimentalApi annotation. (b22c4236)
  • FEAT: Add incremental sync API. (b6c8e67b) (966312be)
  • FEAT: Introduce sorting capability for read-records API. (c2d82fa1)
  • FEAT: Introduce HealthDataTypeCategory enum to group health data types into meaningful categories. (1d11eb43)
  • FIX(health_connector_hk_ios): Add missing nutrient and health record DTOs to mappers and extensions. (c74fdfa5)
  • BREAKING REFACTOR: Standardize naming conventions across health data models and APIs. (aa824f72, ce45f8dc, 1ba99856, 059c9ea0, 399ebbe5, 6dd617fa, 50cbe79b, d83fc055, 371d3679, 29d9faac)
  • BREAKING REFACTOR: Unify meal type enums across records. (c70c336c)
  • BREAKING REFACTOR: Flatten HeartRateMeasurementRecord structure. (4e0b5a7f)
  • BREAKING FIX: Remove non-functional dataOrigin parameters from Metadata constructors. (1c90b4f5)
  • BREAKING FEAT: Enhance exception hierarchy. (ddb4b8ae)
  • BREAKING FEAT: Introduce Frequency measurement unit for heart/respiratory rates. (80092ba3)
  • BREAKING FEAT: Add validation range enforcement at instance creation. (76cf37b6)

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 energy 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.
14
likes
160
points
998
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

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