From af38871b73f737ee8b3a3c8208e6b866d5ca8f19 Mon Sep 17 00:00:00 2001 From: "Jakob E. Bardram" Date: Fri, 26 Jan 2024 10:23:29 +0100 Subject: [PATCH] Fix of Device and Data Viz pages (#210) Co-authored-by: Lars Refsgaard <1552887+LarsRefsgaard@users.noreply.github.com> Fixes #204, #186, #207 Added support for health in devices page --- android/app/src/main/AndroidManifest.xml | 55 +++++++++ android/gradle.properties | 3 +- assets/lang/da.json | 2 + assets/lang/en.json | 2 + ios/Runner/Info.plist | 4 +- ios/Runner/Runner.entitlements | 6 +- ios/Runner/RunnerRelease.entitlements | 6 +- lib/blocs/app_bloc.dart | 14 ++- lib/blocs/common.dart | 19 ++- lib/carp_study_app.dart | 12 +- lib/main.dart | 4 +- lib/sensing/sensing.dart | 2 +- lib/ui/cards/distance_card.dart | 10 +- lib/ui/cards/heart_rate_card.dart | 3 +- lib/ui/pages/data_visualization_page.dart | 112 +++++++----------- lib/ui/pages/devices_page.dart | 50 +++++--- lib/ui/widgets/details_banner.dart | 3 +- .../cards/activity_data_model.dart | 6 +- .../cards/heart_rate_data_model.dart | 10 +- .../cards/mobility_data_model.dart | 4 +- lib/view_models/cards/steps_data_model.dart | 4 +- .../data_visualization_page_model.dart | 23 ++-- lib/view_models/devices_page_model.dart | 3 + lib/view_models/view_model.dart | 26 ++-- 24 files changed, 229 insertions(+), 154 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index a5b1500f..79ef3089 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,14 @@ + + + + + + + + @@ -49,6 +57,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +