4.3.123
- React Native Package: Available here
- Example app: Available here
Requirements
iOS 13.0+ Android 9.0+ (Level 28, P, Pie)SDK Installation
Install the react-native-spike-sdk package from npm:iOS Setup Guide
Usepod install
and pod update
commands from ios/
folder of your app to install/update SpikeSDK.
iOS Signing & Capabilities
To add HealthKit support to your application’s Capabilities.- Open the iOS/ folder of your project in Xcode
- Select the project name in the left sidebar
- Open Signing & Capabilities section
- In the main view select ’+ Capability’ and double click HealthKit
Info.plist
Add Health Kit permissions descriptions to yourInfo.plist
file:
Android Setup
To add the SDK to your project, you have to add the following to your project’sbuild.gradle
file in the repositories block.