forked from carp-dk/flutter-plugins
-
Notifications
You must be signed in to change notification settings - Fork 2
Get health12.0.1 #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* revokeAllPermissions revokeAllPermissions * Update documentation, remove a commented line * Update example app's permission revoking UI --------- Co-authored-by: Aamir Farooq <aamir@farooq.xyz>
* add insulinDelivery support for iOS * add insulin delivery reason metadata * add metadata to health data point * fix insulin delivery health value from json * allow to write insulin delivery to apple health * check if insulin delivery reason is valid * fix crash * fix crash * ignore meal name * update deps * revert update * fix write meal crash * bump device info plus dep * add missing data type for ios * add docs * fix merge typo * temp fix for dexcom crash * update code * update code * get insulin delivery reason from apple health * fix metadata parsing * fix crash with older devices * let write meal even tho there's no nutrition value i.e. water (nutrition allways needs to be set to prevent crash) * Throw exception when `writeInsulinDelivery` is called on Android --------- Co-authored-by: António Valente <antonio@snaq.io> Co-authored-by: Aamir Farooq <aamir@farooq.xyz>
[Mobility_Features] Fix permissions and dependency
* feat: expanded NutritionHealthValue nutrients support Expanded NutritionHealthValue class to support more micronutrients. Not including nutrients that are neither supported in Health Kit or Health Connect. For example, Omega-3s, Omega-6, and amino acids feat: expanded nutrient support on the writeMeal method feat: Support writing micronutrients to platform Platforms do not support 100% of new micronutrients fix: NutrientRecords can now load foods that have null values feat: Read micronutrients from HC/GF chore: standardized writeMeal and getData->Nutrition data format fix: mealType was incorrect field key update snack writing example feat: added ios nutrient health data types feat: Add new dietary strings to ios plugin xcode project fix: swift code errors Trying to keep the data format consistent between serializing and deserializing remove my workspace files * Removed changes to Google Fit WriteMeal * Add missing documentation * Reorder lines in doc comments --------- Co-authored-by: Aamir Farooq <aamir@farooq.xyz>
…meter-pr Upgrade of mobility package
…, characteristic data from HealthKit (carp-dk#1008) * Add characteristic data from HealthKit * Add menstruation data from HealthKit and Google Fit * Fix serialization for characteristic types, fetch new types in example app * Update documentation * Menstruation flow data: remove Google Fit support, add HC support, support writing data on Android * Add support for writing menstruation flow on iOS, read the metadata provided by iOS * Update readme with menstruation flow * Update a doc comment * Added testing of Menstruation Flow to example app --------- Co-authored-by: Aviad Katani <aviad@lumen.me> Co-authored-by: AviadKa <105856296+AviadKa@users.noreply.github.com> Co-authored-by: bardram <jakba@dtu.dk>
…dk#1009) * Add support for heart rate variability (RMSSD) for Android * Update readme
* Remove Google Fit and imports from Android code * Formatting * Remove Google Fit column from readme * Remove support for Google Fit types not supported by Health Connect * Remove more Google Fit workout types * Remove references to Google Fit, remove `useHealthConnectIfAvailable` * Remove `disconect` method channel * Remove `flowRate` from `writeBloodOxygen` as it is not supported in Health Connect * Remove more unsupported workout types * Add missing import * Remove Google Fit as dependency * Add notice in README * Improve logging for HC permission callback * Update some documentation * Android: Fix `requestAuthorization` not returning a result on success * Remove additional workout types that are not supported * Remove another workout type * Add missing unimplemented method * small updates to the README * Fix an issue in generated file * When writing data, check if the type is available on the requested platform --------- Co-authored-by: bardram <jakba@dtu.dk>
… Android (carp-dk#1020) * Remove Google Fit and imports from Android code * Formatting * Remove Google Fit column from readme * Remove support for Google Fit types not supported by Health Connect * Remove more Google Fit workout types * Remove references to Google Fit, remove `useHealthConnectIfAvailable` * Remove `disconect` method channel * Remove `flowRate` from `writeBloodOxygen` as it is not supported in Health Connect * Remove more unsupported workout types * Add missing import * Remove Google Fit as dependency * Add notice in README * Improve logging for HC permission callback * Update some documentation * Android: Fix `requestAuthorization` not returning a result on success * Combine some types for consistency across iOS and Android
* Remove Google Fit and imports from Android code * Formatting * Remove Google Fit column from readme * Remove support for Google Fit types not supported by Health Connect * Remove more Google Fit workout types * Remove references to Google Fit, remove `useHealthConnectIfAvailable` * Remove `disconect` method channel * Remove `flowRate` from `writeBloodOxygen` as it is not supported in Health Connect * Remove more unsupported workout types * Add missing import * Remove Google Fit as dependency * Add notice in README * Improve logging for HC permission callback * Update some documentation * Android: Fix `requestAuthorization` not returning a result on success * Remove additional workout types that are not supported * Remove another workout type * Add missing unimplemented method * Add `uuid` field to `HealthDataPoint` and include it in datapoints * Update README.md --------- Co-authored-by: bardram <jakba@dtu.dk>
…dk#1021) * Remove Google Fit and imports from Android code * Formatting * Remove Google Fit column from readme * Remove support for Google Fit types not supported by Health Connect * Remove more Google Fit workout types * Remove references to Google Fit, remove `useHealthConnectIfAvailable` * Remove `disconect` method channel * Remove `flowRate` from `writeBloodOxygen` as it is not supported in Health Connect * Remove more unsupported workout types * Add missing import * Remove Google Fit as dependency * Add notice in README * Improve logging for HC permission callback * Update some documentation * Android: Fix `requestAuthorization` not returning a result on success * Remove additional workout types that are not supported * Remove another workout type * Add missing unimplemented method * Remove reference to v1 Android embedding
… `HKWasUserEntered` on iOS (carp-dk#1023) * Remove Google Fit and imports from Android code * Formatting * Remove Google Fit column from readme * Remove support for Google Fit types not supported by Health Connect * Remove more Google Fit workout types * Remove references to Google Fit, remove `useHealthConnectIfAvailable` * Remove `disconect` method channel * Remove `flowRate` from `writeBloodOxygen` as it is not supported in Health Connect * Remove more unsupported workout types * Add missing import * Remove Google Fit as dependency * Add notice in README * Improve logging for HC permission callback * Update some documentation * Android: Fix `requestAuthorization` not returning a result on success * Remove additional workout types that are not supported * Remove another workout type * Add missing unimplemented method * Include recording method from Android metadata in HealthDataPoint * Support writing data with custom recording method on Android * Improve RecordingMethod enum * Support filtering by recording method when fetching data * Fix `includeManualEntry` for `getTotalStepsInInterval` * Support recording method on iOS * Recording method when writing on iOS (WIP) * Fix filtering manual entries when fetching data on iOS * Rename variable in example app * Update documentation * Improvements to example app * Quick fix * Update documentation * Update iOS docs
* Remove Google Fit and imports from Android code * Formatting * Remove Google Fit column from readme * Remove support for Google Fit types not supported by Health Connect * Remove more Google Fit workout types * Remove references to Google Fit, remove `useHealthConnectIfAvailable` * Remove `disconect` method channel * Remove `flowRate` from `writeBloodOxygen` as it is not supported in Health Connect * Remove more unsupported workout types * Add missing import * Remove Google Fit as dependency * Add notice in README * Improve logging for HC permission callback * Update some documentation * Android: Fix `requestAuthorization` not returning a result on success * Remove additional workout types that are not supported * Remove another workout type * Add missing unimplemented method * Implement sleep stage changes on iOS side * Implement Android side * Minor fix to README * Add support for SLEEP_AWAKE_IN_BED * Fix for [health 10.2.0] #1010
[Health] Updated device_info_plus version dependency
…-device-info Health 12/1095 update dependencies versions
[Health] fixed hasPermissoins call for iOS
…mission Health 12/1091 iOS hasPermission
[health] Remove automatically added workout permissions
… for WORKOUT data type
…-auto-workout-permissions Health 12/1055 remove auto workout permissions
Fix `HealthDataType was not aligned correctly` when adding SLEEP_LIGHT data
…pendency injection for DeviceInfoPlugin
[Health] Register WorkoutHealthValue
…thealth Health 12/1052 Register `WorkoutHealthValue`
feat: refactor `Health` class to remove singleton pattern and enable dependency injection for `DeviceInfoPlugin`
Version 12.0.1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.