React Native App for Movuino and Polar BLE devices data logging
- Follow the environment setup steps. I use React Native CLI on OSX for this project.
- Clone this repository with the
--recursiveoption to include thereact-native-polar-ble-sdkplugin (it is not included as an npm module yet, as it is easier to commit changes to the submodule directly during development and keep its repository up to date rather than using npm link which doesn't seem to work properly). - run
npm install - run
npm run androidto run a debug version on a connected Android device, ornpm run iosto build a debug version for iphone, then run it by openingios/OpenHealthBandReactNativeApp.xcworkspacein XCode and hitting the "run" button with a development iphone connected.
This repository was created with the npx react-native init ... command.
The react-native-polar-ble-sdk plugin was created using the create-react-native-module tool.
You will need XCode and CocoaPods installed to build a React Native project. If you have Xcode version 12 or later, you will also need Carthage (a Swift package management alternative to CocoaPods) to rebuild Polar's SDK, and provide your admin password at some point of the process.