Playing around with React Native
Installation (for Android)
- Get the Android SDK (https://developer.android.com/studio/index.html)
- Add sdk tools into your path
export PATH=$PATH:/Users/you/Library/Android/sdk/platform-tools
- Connect your device and build the app
react-native run-android
- Start up the server that will watch for new changes
# Why sudo? see: http://stackoverflow.com/questions/38885760/react-native-packager-failure-duplicate-module-name
sudo npm run start
- Shake app to get to the dev settings and enable hot reload and update Debug server host and port to where the server is running the react app
- Use rnpm to install future android deps