forked from cph-cachet/flutter-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Health]: Remove Google Fit support (cph-cachet#1014)
* 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 <[email protected]>
- Loading branch information
1 parent
310d13d
commit e076c8e
Showing
15 changed files
with
2,495 additions
and
4,770 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
6,338 changes: 2,187 additions & 4,151 deletions
6,338
packages/health/android/src/main/kotlin/cachet/plugins/health/HealthPlugin.kt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.