React Native step counter for iOS and Android.
- iOS uses the HealthKit API.
- Android uses the Google Fit API.
-
Install both watchman and node using Brew
- brew install node
- brew install watchman
-
Install React Native CLI
npm install -g react-native-cli
-
Clone and run project packager.
git clone https://github.com/StasDoskalenko/React-Native-Steps-App.git react-native-steps-app
cd react-native-steps-app
npm start
-
Open another terminal window (don't close packager terminal). And run project at device (Xcode >= 8 required).
Building an app for testing at the device requires using the Release scheme in Xcode.
Product → Scheme → Edit Scheme (cmd + <), make sure you're in the Run tab from the side, and set the Build Configuration dropdown to Release
react-native run-ios
-
In some cases try to build directly via Xcode
- react-native
- react-native-circular-progress
- react-native-linear-gradient
- react-native-router-flux
- react-native-vector-icons
- react-redux
Based on Asim Malik AwesimSteps app