Release
Create release builds and upload them to the app stores.
warning
You'll need to have completed your store listings, screenshots, and other metadata before you can submit your app for review.
tip
You can generate screenshots for your store listing using AppMockUp Studio.
Prepare your Android Release Build
- In the file
androidApp/build.gradle.kts, change theversionCodeandversionNameto the new version - In Android Studio menu, select
Build->Generate Signed Bundle / APK... - Select
Android App Bundleand follow the instructions. Make sure you select the release keystore created during setup and enter the password. (its the same password for storepass and keypass)
Once the build is finished, you will find the .aab file in the androidApp/build/outputs/bundle/release directory.
Upload to Google Play Console
- Go to Google Play Console
- Select your app from the list
- Click on
ProductionunderReleasein the left menu - Click on
Create release - Click on
Browse filesand select the .aab file - Release name will be filled automatically once build uploads
- Create your release notes and save
- Make sure you added the necessary test account and instructions for the reviewers in
the
App content->App accesssection - Go to
Publishing overviewand click onSend changes for review
Prepare your iOS Release Build
- In the file
iosApp/iosApp.xcodeproj, select your target, switch toGeneraltab,Identitysection and change theVersionandBuildto the new version eg. 1.0.1 and 1. - In Xcode, select
Product->Archive - Click on
Validate App - Click on
Distribute App - Select
TestFlight & App Storeand clickNext - Wait for the upload to finish and to be notified that the build is ready via email
Upload to App Store Connect
- Go to App Store Connect Apps
- Select your app from the list
- Click on
App StoreunderiOS App - Click on
+ Version or Platform - Fill in the version number and click
Create - Click on
iOS Appand select the build you uploaded - Fill in the release notes and click
Save - Click on
Submit for Reviewand follow the instructions
Troubleshooting
-
Task :shared:linkReleaseFrameworkIosArm64 FAILED java.lang.OutOfMemoryError: Java heap space: Increase the heap size by updating gradle.properties to eg. 6GB:org.gradle.jvmargs=-Xmx6144M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx6144M"