Deploy Android App
Prerequisites
-
Enable App Check for Android (see App Check setup)
-
Install Java Development Kit (JDK)
App Signing
-
Generate a keystore:
-
Create
android/key.properties
: -
Update
android/app/build.gradle
:
Build for Release
-
Review
android/app/src/main/AndroidManifest.xml
:- Check permissions
- Verify package name
- Update app label and icon
-
Update version in
pubspec.yaml
: -
Build app bundle:
The bundle will be at:
build/app/outputs/bundle/release/app-release.aab
Play Store Setup
-
Create app in Google Play Console
-
Complete store listing:
- App name and description
- Screenshots and videos
- Graphics assets
- Content rating
- Privacy policy
-
Set up pricing and distribution:
- Choose countries
- Set price (if not free)
- Select content rating
- Accept developer agreement
Release Process
-
Create new release:
- Go to Production > Create new release
- Upload your app bundle
- Add release notes
-
Run pre-launch report:
- Check for crashes
- Verify on different devices
- Review performance metrics
-
Submit for review:
- Review all details
- Submit to Google Play
- Monitor review status
CI/CD Setup
Add this to your GitHub Actions workflow:
Internal Testing
Before public release:
-
Create internal testing track:
- Upload your app bundle
- Add test users by email
- Share opt-in URL
-
Test thoroughly:
- Installation process
- All core features
- Performance and crashes
- In-app purchases (if any)
-
Monitor analytics:
- Crash reports
- User feedback
- Performance metrics