Production release: build and ship a non-debuggable release APK
release.yml shipped app-debug.apk, so production was debuggable. It now runs assembleRelease, signed with the same keystore (identical certificate, so updates still install over existing ones), with isDebuggable = false. Minification stays off: R8 cannot be tried on a device here. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TWwLCrXa9aFVg8dZsCdLBZ
This commit is contained in:
@@ -104,6 +104,11 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
// Signed with the same key as the debug builds, so a release installs
|
||||
// over what is already on a device; a different key would make the
|
||||
// updater's installs fail with a signature mismatch.
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
isDebuggable = false
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
|
||||
Reference in New Issue
Block a user