/ActivityRecognition

React Native Module for CMMotionActivityManager

Primary LanguageObjective-C

ActivityRecognition

React Native Module for CMMotionActivityManager

Directory Structure

  • activity-recognition is the core implementation
  • ActivityApp is the app demonstrating its use.

Running ActivityApp

cd ActivityApp

Install Dependencies

npm install

Linking Libraries

Running on device

What to test

  • Shaking the device opens up developer's menu. Select Debug JS Remotely. Now you can see the console logs in the browser.
  • When you press Start Activity button, check if output is coming on the screen. If there is some error, check the logs and revert to me the same.