Releases: tryVital/vital-flutter
4.6.0
4.6.0
This is a minor release for Junction Flutter SDK.
iOS and Android
- The Health SDK now supports an opt-in Explicit Connect mode, which enables your application to explicitly control the moment of HealthKit and Health Connect connection creation and disconnection. This opt-in mode also allows remote disconnection through the Deregister Connection endpoint, which was not supported in the default Auto Connect mode.
iOS SDK (1.8.3-1.8.4)
- DEV-748: iOS: Fix activity summary calculation crash caused by DST by @andersio in tryVital/vital-ios#339
- CE-161: Fix a crash caused by certain menstrual cycle flow samples by @TiffanieL in tryVital/vital-ios#337
What's Changed
- DEV-703: Expose Explicit Connect mode by @andersio in #153
- DEV-703: Update example app to include Explicit Connect mode by @andersio in #154
- Bump iOS SDK to 1.8.4 by @andersio in #155
Full Changelog: vital_health-v4.5.6...vital_health-v4.6.0
4.5.6
4.5.6
This is a patch release for Junction Flutter SDK.
iOS SDK (1.6.4-1.8.2)
-
Fixed a bug that caused third-party sleep data taking excessive amount of time or failed to be synced.
-
ℹ️ End users having only Apple Watch and/or iPhone sleep data are not affected by this bug.
Improved how the Health SDK matches for related data samples (heartrate, respiratory rate, etc) when calculating session-level statistics for Sleeps and Workouts. -
Support for collecting Deep Device Metadata on Apple HealthKit data.
Android SDK (4.2.0-4.2.2)
-
The Health SDK now regularly reports Health Connect client-side sync progress to the Junction Dashboard. Similar to the iOS SDK equivalent, this report would include metadata of any exception that had disrupted a sync attempt. We hope that this brings more visibility into Health Connect sync issues.
-
Support for collecting Deep Device Metadata on Health Connect data.
-
Addressed an Android HTTP client exception that occurred specifically when the SDK attempted to retry an API request.
Android SDK (4.2.1) and iOS SDK (1.8.2)
We have updated SDK internals to start using our new *.junction.com API domains.
What's Changed
Full Changelog: vital_health-v4.5.4...vital_health-v4.5.5
4.5.5
4.5.5
This is a patch release for Junction Flutter SDK.
iOS SDK (1.6.4-1.8.2)
-
Fixed a bug that caused third-party sleep data taking excessive amount of time or failed to be synced.
-
ℹ️ End users having only Apple Watch and/or iPhone sleep data are not affected by this bug.
Improved how the Health SDK matches for related data samples (heartrate, respiratory rate, etc) when calculating session-level statistics for Sleeps and Workouts. -
Support for collecting Deep Device Metadata on Apple HealthKit data.
Android SDK (4.2.0-4.2.1)
-
The Health SDK now regularly reports Health Connect client-side sync progress to the Junction Dashboard. Similar to the iOS SDK equivalent, this report would include metadata of any exception that had disrupted a sync attempt. We hope that this brings more visibility into Health Connect sync issues.
-
Support for collecting Deep Device Metadata on Health Connect data.
Android SDK (4.2.1) and iOS SDK (1.8.2)
We have updated SDK internals to start using our new *.junction.com API domains.
What's Changed
Full Changelog: vital_health-v4.5.4...vital_health-v4.5.5
4.5.4
4.5.4
4.5.4 bundles the latest bugfix releases of the Junction iOS and Android SDKs.
iOS SDK 1.6.3
- DEV-504: Fix HealthKit crash due to heartRateRecoveryOneMinute incompatible unit by @andersio in tryVital/vital-ios#323
Android SDK 4.1.4
- DEV-502: Handle ForegroundServiceStartNotAllowedException by @andersio in tryVital/vital-android#186
What's Changed
Full Changelog: vital_health-v4.5.3...vital_health-v4.5.4
4.5.3
4.5.2
What's Changed
- VIT-8428: Re-export PermissionStatus in vital_health by @andersio in #141
- VIT-8428: Relax the permission_handler version range by @andersio in #142
- VIT-8428: Fix build warnings by @andersio in #143
- VIT-8428: Remove debug print in VitalHealthAndroid.permissionStatus by @andersio in #144
- Bump Android SDK to 4.1.3 by @andersio in #145
Full Changelog: vital_health-v4.5.1...vital_health-v4.5.2
4.5.1
4.5.1
- You can now query permission status of multiple
HealthResources throughvital_health.permissionStatus().
What's Changed
- Bump Android SDK to 4.1.2 by @andersio in #139
- DEV-480: Support batch querying permission status by @andersio in #140
Full Changelog: vital_health-v4.5.0...vital_health-v4.5.1
4.5.0
4.5.0
Junction Flutter SDK 4.5.0 bumps iOS SDK to 1.6.2 and Android SDK to 4.1.1.
- NEW:
UserConnectionnow exposes the connection creation date (createdOn).
Android
- FIXED: Health SDK
hasAskedForPermissionnow works correctly on Android. - FIXED: Health SDK
asknow throws an exception with a clearer message when you try to passHealthResourcenot supported on Android.
iOS
- FIXED: End user moving to a different time zone no longer overrides the time zone(s) of Activity Daily Summary of previous 3-4 days. With iOS SDK 1.5.0+, only the summary of the day would be affected.
Expanded Apple HealthKit data type coverage
| Type | Remarks | VitalResource |
|---|---|---|
| Workout Stream timeseries | Workout Distance — including cycling, swimming, rowing, cross country skiing, downhill snow sports, paddle sports, skating sports, walking, running and wheelchair. Workout Swimming Stroke |
As part of .workout |
| Timeseries | Heart Rate Recovery One Minute | .heartRateRecoveryOneMinute |
| Profile summary | Wheelchair Mode usage | |
| Activity summary | Wheelchair Mode support (distance and push count) | |
| Body summary | Lean Body Mass, Body Mass Index, Waist Circumference | |
| Timeseries resources | Lean Body Mass, Body Mass Index, Waist Circumference, Wheelchair Push, Distance (Wheelchair Mode support), Stand Hour, Stand Duration, Sleep Apnea Alert, Sleep Breathing Disturbance, FEV1, Forced Vital Capacity, Peak Expiratory Flow Rate, Inhaler Usage, Fall, UV Exposure, Daylight Exposure, Handwashing, Basal Body Temperature |
What's Changed
- VIT-8413: Update Flutter Example app build settings by @andersio in #134
- VIT-8413: Implement hasAskedForPermission in Android and clean up the vital_health interop layer by @andersio in #135
- VIT-8413: Bump iOS SDK to 1.6.2 by @andersio in #136
- VIT-8413: Re-run Chopper code gen by @andersio in #137
- VIT-8413: Expose UserConnection.createdOn & Bump Android SDK to 4.1.1 by @andersio in #138
Full Changelog: vital_health-v4.4.3...vital_health-v4.5.0
4.4.3
Fluter SDK 4.4.3
- Removed dependency on RxDart.
iOS SDK 1.4.5
iOS SDK 1.4.5 addresses isolated occurrences of activity summary and activity timeseries data sync not able to make forward progress.
These occurrences were caused by Apple HealthKit responding an undocumented error scenario of invalidArgument: Unable to invalidate interval: no data source available., which the SDK now considers as a synonym to "no data".
SDK Sync Progress now also reports a subset of sync errors with the "expected error" status — these errors are expected to happen occasionally and the SDK will recover from them automatically.
What's Changed
- DEV-290: Remove dependency on RxDart by @andersio in #131
- Bump iOS SDK to 1.4.5 by @andersio in #132
- DEV-290: Fix hasAskedForPermission in iOS bridge by @andersio in #133
Full Changelog: vital_health-v4.4.2...vital_health-v4.4.3
4.4.2
4.4.2
Vital iOS SDK 1.4.4
iOS SDK 1.4.4 addresses a report of increased crash rate.
As part of the mitigation, SDK 1.4.1 tried to migrate from the synchronous -[HKHealthStore authorizationStatusForType:] to the callback-based -[HKHealthStore getRequestStatusForAuthorization:]. However, this has apparently been causing libdispatch-level voucher_adopt crashes since.
SDK 1.4.4 reverts to use the good old -[HKHealthStore authorizationStatusForType:].
Vital iOS SDK 1.4.3
iOS SDK 1.4.3 includes fixes and mitigations for a couple of identified edge cases affecting a small group of end users:
Historical activity summary uploads cannot make forward progress due to a rare HealthKit error:
com.apple.healthkit 3 Unable to invalidate interval: no data source available.
The iOS SDK now attempts to mitigate this by using shorter time intervals with HKStatisticalCollectionQuery when computing activity summaries.
Resource uploads could stop making forward progress, when the last attempt had been interrupted mid-way by a process termination or a crash.
Configuration(backgroundDeliveryEnabled: false) was not respected.
Vital iOS SDK 1.4.2
iOS SDK 1.4.2 includes fixes and mitigations for a couple of identified edge cases affecting a small group of end users:
Historical activity summary uploads cannot make forward progress due to a rare HealthKit error:
com.apple.healthkit 3 Unable to invalidate interval: no data source available.
The iOS SDK now attempts to mitigate this by using shorter time intervals with HKStatisticalCollectionQuery when computing activity summaries.
Resource uploads could stop making forward progress, when the last attempt had been interrupted mid-way by a process termination or a crash.
Configuration(backgroundDeliveryEnabled: false) was not respected.
What's Changed
Full Changelog: vital_health-v4.4.1...vital_health-v4.4.2