chore(android): enable R8 minification + resource shrinking for releases #1527
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/android-r8-minify"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Play Console flagged the Play DEX obfuscation metric at 0% for 0.10.20 (deadline Feb 2027).
isMinifyEnabled = true) + resource shrinking (isShrinkResources = true); version bump to 0.10.22proguard-rules.prostays rule-free by design: all dependencies ship consumer rules (Retrofit 3, OkHttp 5, kotlinx-serialization 1.11, Coil 3.6, media3 1.11, Room 2.8, WorkManager 2.12, GMS Cast 22.3), app code has zero reflective/dynamic-resource surfaces (artifact-verified against the exact pinned versions); osmdroid 6.1.20 ships no rules but needs none for our usageandroid-release.ymlattachesmapping.txtasmemories-android-<v>-mapping.txt(hard-fail when missing) — Play gets the mapping embedded in the AAB; the Forgejo asset covers sideload-APK retraceVerification
:app:bundleRelease :app:assembleReleasegreen incl.minifyReleaseWithR8,optimizeReleaseResources,lintVitalRelease; R8 emitted zero missing-class warningsAppContainer -> hq):core:test :app:testDebugUnitTestgreen3014dfb46a5a8d3572ef