Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rn-apple-healthkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ym
rn-apple-healthkit
Commits
4e7f5053
Commit
4e7f5053
authored
Sep 08, 2017
by
Terrillo Walls
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version update
parent
351c9a00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
40 deletions
+2
-40
README.md
README.md
+1
-39
package.json
package.json
+1
-1
No files found.
README.md
View file @
4e7f5053
...
...
@@ -139,7 +139,6 @@ The available Healthkit permissions to use with `initHealthkit`
| Permission | Healthkit Identifier Type | Read | Write |
|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|------|-------|
<<<<<<< HEAD
| ActiveEnergyBurned |
[
HKQuantityTypeIdentifierActiveEnergyBurned
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifieractiveenergyburned?language=objc
)
| ✓ | ✓ |
| AppleExerciseTime |
[
HKQuantityTypeIdentifierAppleExerciseTime
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifierappleexercisetime?language=objc
)
| ✓ | |
| BasalEnergyBurned |
[
HKQuantityTypeIdentifierBasalEnergyBurned
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifierbasalenergyburned?language=objc
)
| ✓ | ✓ |
...
...
@@ -155,6 +154,7 @@ The available Healthkit permissions to use with `initHealthkit`
| HeartRate |
[
HKQuantityTypeIdentifierHeartRate
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifierheartrate?language=objc
)
| ✓ | |
| Height |
[
HKQuantityTypeIdentifierHeight
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifierheight?language=objc
)
| ✓ | ✓ |
| LeanBodyMass |
[
HKQuantityTypeIdentifierLeanBodyMass
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifierleanbodymass?language=objc
)
| ✓ | ✓ |
| MindfulSession |
[
HKCategoryTypeIdentifierMindfulSession
](
https://developer.apple.com/reference/healthkit/hkcategorytypeidentifiermindfulsession?language=objc
)
| | ✓ |
| NikeFuel |
[
HKQuantityTypeIdentifierNikeFuel
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifiernikefuel?language=objc
)
| ✓ | |
| RespiratoryRate |
[
HKQuantityTypeIdentifierRespiratoryRate
](
https://developer.apple.com/reference/Healthkit/hkquantitytypeidentifierrespiratoryrate?language=objc
)
| ✓ | |
| SleepAnalysis |
[
HKCategoryTypeIdentifierSleepAnalysis
](
https://developer.apple.com/reference/Healthkit/hkcategorytypeidentifiersleepanalysis?language=objc
)
| ✓ | |
...
...
@@ -164,39 +164,6 @@ The available Healthkit permissions to use with `initHealthkit`
These permissions are exported as constants of the
`rn-apple-Healthkit`
module.
## Methods
=======
| DateOfBirth |
[
HKCharacteristicTypeIdentifierDateOfBirth
](
https://developer.apple.com/reference/healthkit/hkcharacteristictypeidentifierdateofbirth?language=objc
)
| ✓ | |
| BiologicalSex |
[
HKCharacteristicTypeIdentifierBiologicalSex
](
https://developer.apple.com/reference/healthkit/hkcharacteristictypeidentifierbiologicalsex?language=objc
)
| ✓ | |
| Height |
[
HKQuantityTypeIdentifierHeight
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierheight?language=objc
)
| ✓ | ✓ |
| Weight |
[
HKQuantityTypeIdentifierBodyMass
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbodymass?language=objc
)
| ✓ | ✓ |
| BodyFatPercentage |
[
HKQuantityTypeIdentifierBodyFatPercentage
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbodyfatpercentage?language=objc
)
| ✓ | ✓ |
| BodyMassIndex |
[
HKQuantityTypeIdentifierBodyMassIndex
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbodymassindex?language=objc
)
| ✓ | ✓ |
| LeanBodyMass |
[
HKQuantityTypeIdentifierLeanBodyMass
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierleanbodymass?language=objc
)
| ✓ | ✓ |
| StepCount |
[
HKQuantityTypeIdentifierStepCount
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierstepcount?language=objc
)
| ✓ | ✓ |
| DistanceWalkingRunning |
[
HKQuantityTypeIdentifierDistanceWalkingRunning
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierdistancewalkingrunning?language=objc
)
| ✓ | ✓ |
| DistanceCycling |
[
HKQuantityTypeIdentifierDistanceCycling
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierdistancecycling?language=objc
)
| ✓ | ✓ |
| BasalEnergyBurned |
[
HKQuantityTypeIdentifierBasalEnergyBurned
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbasalenergyburned?language=objc
)
| ✓ | ✓ |
| ActiveEnergyBurned |
[
HKQuantityTypeIdentifierActiveEnergyBurned
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifieractiveenergyburned?language=objc
)
| ✓ | ✓ |
| FlightsClimbed |
[
HKQuantityTypeIdentifierFlightsClimbed
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierflightsclimbed?language=objc
)
| ✓ | ✓ |
| NikeFuel |
[
HKQuantityTypeIdentifierNikeFuel
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifiernikefuel?language=objc
)
| ✓ | |
| AppleExerciseTime |
[
HKQuantityTypeIdentifierAppleExerciseTime
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierappleexercisetime?language=objc
)
| ✓ | |
| DietaryEnergy |
[
HKQuantityTypeIdentifierDietaryEnergyConsumed
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierdietaryenergyconsumed?language=objc
)
| ✓ | ✓ |
| HeartRate |
[
HKQuantityTypeIdentifierHeartRate
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierheartrate?language=objc
)
| ✓ | |
| BodyTemperature |
[
HKQuantityTypeIdentifierBodyTemperature
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbodytemperature?language=objc
)
| ✓ | |
| BloodPressureSystolic |
[
HKQuantityTypeIdentifierBloodPressureSystolic
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbloodpressuresystolic?language=objc
)
| ✓ | |
| BloodPressureDiastolic |
[
HKQuantityTypeIdentifierBloodPressureDiastolic
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbloodpressurediastolic?language=objc
)
| ✓ | |
| RespiratoryRate |
[
HKQuantityTypeIdentifierRespiratoryRate
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierrespiratoryrate?language=objc
)
| ✓ | |
| BloodGlucose |
[
HKQuantityTypeIdentifierBloodGlucose
](
https://developer.apple.com/reference/healthkit/hkquantitytypeidentifierbloodglucose?language=objc
)
| ✓ |
|
| SleepAnalysis |
[
HKCategoryTypeIdentifierSleepAnalysis
](
https://developer.apple.com/reference/healthkit/hkcategorytypeidentifiersleepanalysis?language=objc
)
| ✓ |
| MindfulSession |
[
HKCategoryTypeIdentifierMindfulSession
](
https://developer.apple.com/reference/healthkit/hkcategorytypeidentifiermindfulsession?language=objc
)
| | ✓ |
These permissions are exported as constants of the
`react-native-apple-healthkit`
module.
```
javascript
import
AppleHealthKit
from
'
react-native-apple-healthkit
'
;
...
...
@@ -225,11 +192,6 @@ const healthKitOptions = {
Options
-------
Methods
-------
>>>>>>> 5adade4a95b5b3cd1816a8d203c1e36a702cfa8a
#### **`isAvailable`**
Check if Healthkit is available on the device.
```
javascript
...
...
package.json
View file @
4e7f5053
{
"name"
:
"rn-apple-healthkit"
,
"version"
:
"0.
3
.0"
,
"version"
:
"0.
4
.0"
,
"description"
:
"A React Native package for interacting with Apple HealthKit"
,
"main"
:
"index.js"
,
"repository"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment