Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
krokyze committed Nov 25, 2019
2 parents 01bdb23 + 5e38d1d commit ac434c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ void readAll() async {

These are currently available data types and their corresponding GoogleFit/HealthKit types.

| Data Type | Android (GoogleFit) | iOS (HealthKit) | Unit |
| --------------------------: | ----------------- | ----------------- | -------------- |
| Data Type | Android (GoogleFit) | iOS (HealthKit) | Unit |
| --------: | ------------------- | --------------- | ---- |
| **HEART_RATE** | [TYPE_HEART_RATE_BPM](https://developers.google.com/android/reference/com/google/android/gms/fitness/data/DataType.html#TYPE_HEART_RATE_BPM) | [heartRate](https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier/1615138-heartrate) | _count/min_ |
| **STEP_COUNT** | [TYPE_STEP_COUNT_DELTA](https://developers.google.com/android/reference/com/google/android/gms/fitness/data/DataType.html#TYPE_STEP_COUNT_DELTA) | [stepCount](https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier/1615548-stepcount) | _count_ |
| **HEIGHT** | [TYPE_HEIGHT](https://developers.google.com/android/reference/com/google/android/gms/fitness/data/DataType.html#TYPE_HEIGHT) | [height](https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier/1615039-height) | _meter_ |
Expand All @@ -67,4 +67,4 @@ These are currently available data types and their corresponding GoogleFit/Healt
There's some differences on iOS for these methods:
* `FitKit.hasPermissions` - false means no, true means user has approved or declined permissions.
> To help prevent possible leaks of sensitive health information, your app cannot determine whether or not a user has granted permission to read data. If you are not given permission, it simply appears as if there is no data of the requested type in the HealthKit store. [https://developer.apple.com/documentation/healthkit/hkhealthstore/1614154-authorizationstatus](https://developer.apple.com/documentation/healthkit/hkhealthstore/1614154-authorizationstatus)
* `FitKit.revokePermissions` - isn't supported by HealthKit, method does nothing.
* `FitKit.revokePermissions` - isn't supported by HealthKit, method does nothing.

0 comments on commit ac434c9

Please sign in to comment.