WIP. Create an Android app for Polldaddy using React Native.
- Follow the React Native installation instructions to get
- git
- node
- npm
- react native command line tools
- android studio and
adb ANDROID_HOMEenvironment variable
- Clone this repo using the link above, for example
git clone git@github.com:v18/polldaddy-reactnative.git
- Enter the directory and install using
cd polldaddy-reactnative
npm install
Make sure you've got Genymotion installed and at least one virtual device added
- Start a Genymotion device
- Start the JS server using
npm start
- In a new terminal window, start the app on the Android emulator
react-native run-android
You can also just run react-native run-android and it will start the JS server for you.