📚 Encyclopedia

Flutter & Mobile · updated 2026-10-13

Flutter Android release builds, app size, and store rollout

flutterandroidaabapkr8obfuscationapp-sizeplay-storecrash-reporting

Research (2026-03) on shipping a Flutter game on Android, plus what Run's own sideloaded APK taught. Signing keys have their own article: Android app signing keys and why losing one is permanent.

Build

App size

Technique Savings
WAV -> OGG 75%+ per file
PNG -> WebP (cwebp -q 80) 25-35%
pngquant 60-80%
ABI splits ~40% per APK
Font subsetting 80%+ per font
Inspect with flutter build apk --release --analyze-size. Aim under 40 MB (under 20 MB for
emerging markets). Delete unreferenced assets: Run carried ~12.5 MB of unused music.

Testing tracks and rollout

Internal testing (up to 100 testers, available in minutes, no review) -> closed (invite, reviewed) -> open (anyone with the link) -> production with a staged rollout starting at 10-20%. Firebase App Distribution works before a store listing exists.

Crash reporting

Crashlytics (free, needs Firebase; FlutterError.onError = FirebaseCrashlytics.instance.recordFlutterFatalError; upload symbols for obfuscated builds) or Sentry (richer performance data and integrations). Both cost about 1% CPU.

In-app review prompts

in_app_review uses the native Play API, which enforces quotas (a few per user per year). Ask after positive moments (a level clear, a new PB), never mid-game; escalate thresholds (levels 5, 15, 30); never show your own "do you like us?" dialog first (policy risk); track requests locally.

Versioning

version: MAJOR.MINOR.PATCH+BUILD in pubspec: major for save-data breaks, minor for content, patch for fixes; BUILD auto-incremented in CI (--build-number=$CI_PIPELINE_IID). Tag releases v1.2.3 and deploy from tags. Upload store builds with Fastlane.

Gotchas

See also

Linked from

Sources: run memory (research-deployment.md, architecture-audit-2026-10.md, session-v085.md)