| ... | ... | @@ -83,3 +83,15 @@ echo "sdk.dir = /home/$USER/Android/Sdk" > android/local.properties && |
|
|
|
npm i &&
|
|
|
|
sudo react-native run-android
|
|
|
|
```
|
|
|
|
|
|
|
|
### 4. Building a *.apk release from the repository
|
|
|
|
|
|
|
|
- Change the URLs from the react-native components from local debugging (http://10.0.2.2:5000) to wherever you've deployed the backend
|
|
|
|
|
|
|
|
Inside the mobile repository/android -folder:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo ./gradlew assembleRelease
|
|
|
|
```
|
|
|
|
|
|
|
|
After the package has been built, it can be found in android/app/build/outputs/apk/release/app-release.apk |
|
|
\ No newline at end of file |