InMySeat
Requirements: Node.js React Cli
Other dependencies change based on target platform. See the React Native setup guide for other requirements
To build (Android):
- Download or Clone repo
- Go into repo
- Run
To install required node modules
npm i
- Run
To build
react-native run-android
Building an APK
- Run the below command in order to create a bundle for the APK to use
react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/src/main/res
- Assemble the debug build
cd android
gradlew assembleDebug
- Download APK to device and install
To generate a signed APK, follow the [React Native guide] (https://facebook.github.io/react-native/docs/signed-apk-android)
Known bugs #Marker images in APK are much bigger in debug APK#
In order to fix this, go to .\android\app\src\main\res and copy the images frin drawable-mdpi into drawable-hdpi, drawable-xhdpi, drawable-xxhdpi, and drawable-xxxhdpi
#No bundle detected#