@@ -13,6 +13,34 @@ A React Native bridge module for interacting with [Apple HealthKit] data.
...
@@ -13,6 +13,34 @@ A React Native bridge module for interacting with [Apple HealthKit] data.
5. 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. 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. Compile and have fun
5. Compile and have fun
### Usage
Just `require` the `react-native-apple-healthkit` module and you're ready to go!