The RapPad Mobile app for both Android and iOS built using React Native.
- Node 4.x or better
- React Native for development
- Xcode for iOS development (optional)
- Android SDK for Android development (optional)
- Android Lollipop or better for Android device testing (optional)
- React Native for native app development
Start by cloning this repo and installing dependencies:
npm install
- Make Gradle faster:
https://docs.gradle.org/2.4/userguide/gradle_daemon.html
react-native start
adb reverse tcp:8081 tcp:8081
cd ./android && ./gradlew installDebug
to install the APK.react-native run-ios
to start up an iOS emulator.
React Native is under active development, and we want to keep up with it.
react-native upgrade
rnpm link
which will add the native modules back.
Below you'll find the issues we ran into and the fixes we found for them.
Make sure you ran the adb reverse
command. Restarting your computer can help sometimes. Hit Crt+M to reload JS.
react-native upgrade
will rebuild most files.