Package Exports
- react-native-apple-healthkit
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-apple-healthkit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-apple-healthkit
A React Native bridge module for interacting with Apple HealthKit data.
Getting started
Installation (xcode)
npm install react-native-apple-healthkit@https://github.com/GregWilson/react-native-apple-healthkit.git --save
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-apple-healthkit
and addRCTAppleHealthKit.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRCTAppleHealthKit.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Click
RCTAppleHealthKit.xcodeproj
in the project navigator and go theBuild Settings
tab. Make sure 'All' is toggled on (instead of 'Basic'). In theSearch Paths
section, look forHeader Search Paths
and make sure it contains both$(SRCROOT)/../../react-native/React
and$(SRCROOT)/../../../React
- mark both asrecursive
. - Compile and have fun