Input Kit Protoype

This is an experiment project to implement Google Fit : Steps Count and Awareness Geofencing API on React Native Application. Currently this project only available for Android device.

To run this project

  • Go to project root path to save this project/RNFitAndAwareness on your terminal
  • Type npm install and run it to install all of project dependencies
  • To run on Android device / emulator, type react-native run-android on project root, and press enter.
  • If you run on actual device, probably you need to change react local host server url through this command :
    • Go to your Android SDK folder and find platform tools directory. For example cd Users/panjiyudasetya/Library/Android/sdk/platform-tools
    • Run this command ./adb reverse tcp:8081 tcp:8081

Screen Shoot