Setting up environment
- 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
- Enable USB debugging in the developer options on your android phone, and connect it
- The connection type should be USB debugging
- cd into moody, make sure that your project path doesn't contain any non-ascii characters
- Run the following commands:
npm install
npm run android
- If everything was successful, you should see the app working on your phone.
- Shake your phone, and in the appearing options tap "Enable hot loading".
- (OPTIONAL) Enable the option on developer options to never shut down the screen.
ENJOY