From deea20360565baa1e33ba4deff8916e37e257516 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Tue, 28 Jun 2016 23:20:59 -0400 Subject: [PATCH] Update README.md --- README.md | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index c747466..88331b5 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ AppleHealthKit.saveWeight({value:myWeight}, (err, res) => { The available HealthKit permissions to use with `initHealthKit` -Read Permissions: +#### Read Permissions | Permission | HealthKit Identifier Type | |-------------------|-----------------------------------------------| @@ -127,28 +127,18 @@ Read Permissions: | DietaryEnergy | HKQuantityTypeIdentifierDietaryEnergyConsumed | | ActiveEnergy | HKQuantityTypeIdentifierActiveEnergyBurned | +#### Write Permissions - Height HKQuantityTypeIdentifierHeight - Weight HKQuantityTypeIdentifierBodyMass - BodyFatPercentage HKQuantityTypeIdentifierBodyFatPercentage - BodyMassIndex HKQuantityTypeIdentifierBodyMassIndex - LeanBodyMass HKQuantityTypeIdentifierLeanBodyMass - Steps HKQuantityTypeIdentifierStepCount - BiologicalSex HKCharacteristicTypeIdentifierBiologicalSex - DateOfBirth HKCharacteristicTypeIdentifierDateOfBirth - DietaryEnergy HKQuantityTypeIdentifierDietaryEnergyConsumed - ActiveEnergy HKQuantityTypeIdentifierActiveEnergyBurned - -Write Permissions: - - Height HKQuantityTypeIdentifierHeight - Weight HKQuantityTypeIdentifierBodyMass - BodyFatPercentage HKQuantityTypeIdentifierBodyFatPercentage - BodyMassIndex HKQuantityTypeIdentifierBodyMassIndex - LeanBodyMass HKQuantityTypeIdentifierLeanBodyMass - Steps HKQuantityTypeIdentifierStepCount - DietaryEnergy HKQuantityTypeIdentifierDietaryEnergyConsumed - ActiveEnergy HKQuantityTypeIdentifierActiveEnergyBurned +| Permission | HealthKit Identifier Type | +|-------------------|-----------------------------------------------| +| Height | HKQuantityTypeIdentifierHeight | +| Weight | HKQuantityTypeIdentifierBodyMass | +| BodyFatPercentage | HKQuantityTypeIdentifierBodyFatPercentage | +| BodyMassIndex | HKQuantityTypeIdentifierBodyMassIndex | +| LeanBodyMass | HKQuantityTypeIdentifierLeanBodyMass | +| Steps | HKQuantityTypeIdentifierStepCount | +| DietaryEnergy | HKQuantityTypeIdentifierDietaryEnergyConsumed | +| ActiveEnergy | HKQuantityTypeIdentifierActiveEnergyBurned | ### Options -- 2.26.2