> *This package is undergoing rapid development and should be considered unstable for the time being.*
> *<strong>Use at your own risk</strong>*
> *This package is fork from [react-native-apple-healthkit](https://github.com/GregWilson/react-native-apple-healthkit)*
## Table of Contents
*[Getting Started](#getting-started)
...
...
@@ -49,14 +48,14 @@ A React Native bridge module for interacting with [Apple HealthKit] data.
### Installation
Install the [react-native-apple-healthkit] package from npm:
Install the [rn-apple-healthkit] package from npm:
`npm install react-native-apple-healthkit --save`
`npm install rn-apple-healthkit --save`
##### Xcode
1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
2. Go to `node_modules` ➜ `react-native-apple-healthkit` and add `RCTAppleHealthKit.xcodeproj`
2. Go to `node_modules` ➜ `rn-apple-healthkit` and add `RCTAppleHealthKit.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRCTAppleHealthKit.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
4. Click `RCTAppleHealthKit.xcodeproj` in the project navigator and go the `Build Settings` tab. Make sure 'All' is toggled on (instead of 'Basic'). In the `Search Paths` section, look for `Header Search Paths` and make sure it contains both `$(SRCROOT)/../../react-native/React` and `$(SRCROOT)/../../../React` - mark both as `recursive`.
5. Enable HealthKit in your application's `Capabilities`
...
...
@@ -66,9 +65,9 @@ Install the [react-native-apple-healthkit] package from npm:
### Usage
Just `require` the `react-native-apple-healthkit` module and you're ready to go!
Just `require` the `rn-apple-healthkit` module and you're ready to go!