Deploying to App Stores
Android (Google Play Store)
1. Generate Signed APK
- Open the
android
directory in Android Studio. - Go to
Build > Generate Signed Bundle / APK
. - Follow the prompts to create a signed APK.
2. Prepare for Release
-
Update
android/app/build.gradle
:def keystoreProperties = new Properties() def keystorePropertiesFile = rootProject.file("key.properties") if (keystorePropertiesFile.exists()) { keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) } android { ... signingConfigs { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile file(keystoreProperties['storeFile']) storePassword keystoreProperties['storePassword'] } } buildTypes { release { signingConfig signingConfigs.release minifyEnabled false shrinkResources false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } }
3. Upload to Google Play Console
- Go to the Google Play Console.
- Create a new application.
- Follow the instructions to upload the APK and submit it for review.
iOS (Apple App Store)
1. Prepare for Release
- Update
ios/Runner.xcodeproj
in Xcode. - Set the version and build number.
- Ensure all app icons and splash screens are set.
2. Generate Archive
- In Xcode, select
Product > Archive
. - Once the archive is created, click
Distribute App
.
3. Upload to App Store Connect
- Follow the prompts to upload the app to App Store Connect.
4. Submit for Review
- Go to App Store Connect.
- Create a new app or update an existing one.
- Fill in the required information and submit the app for review.