From 0b89660e5cf45a1cedbcec6f7af34010402f028a Mon Sep 17 00:00:00 2001 From: avargas-btf Date: Wed, 25 Sep 2024 18:09:04 -0500 Subject: [PATCH 1/2] Register WorkoutHealthValue --- packages/health/lib/health.json.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/health/lib/health.json.dart b/packages/health/lib/health.json.dart index 351098a28..2162869da 100644 --- a/packages/health/lib/health.json.dart +++ b/packages/health/lib/health.json.dart @@ -10,6 +10,7 @@ void _registerFromJsonFunctions() { FromJsonFactory().registerAll([ HealthValue(), NumericHealthValue(numericValue: 12), + WorkoutHealthValue(workoutActivityType: HealthWorkoutActivityType.RUNNING), AudiogramHealthValue( frequencies: [], leftEarSensitivities: [], From 87745f3366f10dec1faf2653a6fec12229b40197 Mon Sep 17 00:00:00 2001 From: Alireza Hajebrahimi <6937697+iarata@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:35:13 +0100 Subject: [PATCH 2/2] chore: update CHANGELOG.md to include fix for issue #1051 --- packages/health/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/health/CHANGELOG.md b/packages/health/CHANGELOG.md index e6efc7c4e..5b1f02d8f 100644 --- a/packages/health/CHANGELOG.md +++ b/packages/health/CHANGELOG.md @@ -16,6 +16,7 @@ * Fix [#950](https://github.com/cph-cachet/flutter-plugins/issues/950) - PR [#1103](https://github.com/cph-cachet/flutter-plugins/pull/1103) * Fix [#1047](https://github.com/cph-cachet/flutter-plugins/issues/1047) and [#939](https://github.com/cph-cachet/flutter-plugins/issues/939) - PR [#1091](https://github.com/cph-cachet/flutter-plugins/pull/1091) * Fix issue where `SLEEP_LIGHT` type was not aligned correctly - PR [#1086](https://github.com/cph-cachet/flutter-plugins/pull/1086) +* Fix [#1051](https://github.com/cph-cachet/flutter-plugins/issues/1051) - PR [#1052](https://github.com/cph-cachet/flutter-plugins/pull/1052) * Updated `intl` to ^0.20.1 [#1092](https://github.com/cph-cachet/flutter-plugins/issues/1092) * Updated `device_info_plus` to ^11.2.0 * Example app: Updated `permission_handler` to ^11.3.1