/PD_moody

Assignment

Primary LanguageJavaScript

Setting up environment

  1. Install globally: (to be honest I am not sure whether the cli is also needed to run the project)
npm install -g react-native-cli@2.0.1
npm install -g react-native@0.55.3
  1. Enable USB debugging in the developer options on your android phone, and connect it
  2. The connection type should be USB debugging
  3. cd into moody, make sure that your project path doesn't contain any non-ascii characters
  4. Run the following commands:
npm install 
npm run android
  1. If everything was successful, you should see the app working on your phone.
  2. Shake your phone, and in the appearing options tap "Enable hot loading".
  3. (OPTIONAL) Enable the option on developer options to never shut down the screen. ENJOY