React native app for recreation locations
git clone https://github.com/agrc/recreate && cd recreate && npm install
You can go to the react-native
docs for more info.
This project was bootstrapped with react-native-cli.
Run project in simulators:
react-native run-ios
&& react-native run-android
Note: Android emulator needs to be started manually.
Run project in production:
react-native run-ios --configuration Release
react-native run-android --variant=release
Run project on connected device:
react-native run-ios --device
Lint (via eslint):
npm run lint
Upgrade react-native:
npm i -g react-native-git-upgrade
react-native-git-upgrade
DTS Mobile Application Deployment Doc
- Bump version number in
package.json
,package-lock.json
,ios/RecreateNative/Info.plist
(CFBundleShortVersionString
&CFBundleVersion
), andandroid/app/build.gradle
(versionName
). - Increment
versionCode
inandroid/app/build.gradle
. - Confirm that you can generate an archive in Xcode (Set to Generic iOS Device, Product -> Archive) and APK in Android Studio (Build -> Build APKs)
- Update
src/ChangeLog.js
- Commit and tag new version.
- Submit a Mobile Application Deployment Form
- Make sure to leave a note if this is for a TestFlight (Apple App Store) or Beta Testing (Google Play) deployment.
- You need to create two separate tickets; one for Apple and one for Android.
- Source Code URL:
git clone --branch <tag name> https://github.com/agrc/recreate && cd recreate && npm install
โD
(iOS) & โM
(Android) open the developer menu within the app. This can be used to enable live reload and remote debugging.
List of native-base icons: https://oblador.github.io/react-native-vector-icons/