This branch contains the Android-specific code and assets for Shaggoth AI.
Since this is a React Native (Expo) app with custom native code, you can build it locally using Gradle:
- Make sure you have Android Studio and the Android SDK installed.
- Open a terminal and navigate to the
mobile/androiddirectory:cd mobile/android - Run the Gradle assemble command:
./gradlew assembleRelease
- The generated APK will be located at:
mobile/android/app/build/outputs/apk/release/app-release.apk
- Generate an App Bundle (.aab)
Instead of an APK, Google Play requires an App Bundle (
.aab) for smaller download sizes. Run the following command inmobile/android:The./gradlew bundleRelease
.aabfile will be generated atapp/build/outputs/bundle/release/app-release.aab. - RevenueCat Consumables (Credits)
- Go to Google Play Console > Monetize > Products > In-app products.
- Create your Consumable products (e.g.,
credits_500,credits_1000). - Import these products into the RevenueCat dashboard under your Android app.
- Upload to Play Console
- Go to Release > Production (or Internal Testing).
- Create a new release and upload the
app-release.aabfile. - Enter your release notes and rollout the release!