Skip to content

Commit

Permalink
ci: build APKs instead, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Sep 9, 2023
1 parent 5f9fa4a commit 1de90b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Bundle the JS
run: npx react-native bundle --platform android --entry-file ./index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
- name: Build the app
run: npx react-native build-android --mode debug
run: npx react-native build-android --tasks assembleDebug
- name: Rename debug AAB
run: mv app-debug.aab RVMob-Debug-${{ github.sha }}.aab
working-directory: /home/runner/work/rvmob/rvmob/android/app/build/outputs/bundle/debug/
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ For development updates and other news, join [RVMob's support server](https://rv

If you want to install RVMob, simply go to [the releases tab](https://github.com/revoltchat/rvmob/releases) and download the latest version. We plan on publishing RVMob to app stores in the future.

Debug builds are also produced for every commit. These are unoptimised - they're much larger and noticeably slower than the release builds, but you can try out new features early. Also bear in mind that they are produced as Android App Bundles (AABs), not APKs - to install them, you'll have to convert the bundles using something like [`bundletool`](https://developer.android.com/tools/bundletool).
Debug builds are also produced for every commit. These are unoptimised - they're much larger and noticeably slower than the release builds, but you can try out new features early.

Also note that, from v0.7.0, RVMob's APKs are **split by architecture**. This helps to reduce file sizes - however, you'll need to make sure that you **download the APK that matches your device's architecture**, or **it won't install!**

## Building

If you want to build RVMob, you'll need:
- [Node](https://nodejs.org/en/) (18+),
- [Node](https://nodejs.org/en/) (v18+),
- [Yarn Classic](https://classic.yarnpkg.com),
- JDK 17 ([Microsoft's build](https://learn.microsoft.com/en-gb/java/openjdk/download) works well),
- the latest Android SDK (preferably via [Android Studio](https://developer.android.com/studio)'s SDK Manager), and
Expand Down

0 comments on commit 1de90b6

Please sign in to comment.