Skip to content

Commit e3186b8

Browse files
committed
build(app): debug build installs side-by-side as 'Quire Debug'
1 parent b62569f commit e3186b8

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

app/build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,14 @@ android {
5656
}
5757
}
5858
buildTypes {
59-
debug { isMinifyEnabled = false }
59+
debug {
60+
isMinifyEnabled = false
61+
// Distinct package + label so a debug build installs side-by-side
62+
// with a signed release "Quire" instead of failing on signature
63+
// mismatch. Debug-only; release is unaffected.
64+
applicationIdSuffix = ".debug"
65+
versionNameSuffix = "-debug"
66+
}
6067
release {
6168
isMinifyEnabled = false // Phase 1 only; revisit before publishing
6269
// AGP 8.3+ embeds git origin/branch/SHA into the APK by default,
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<!-- Debug-only override so a debug build installs/reads as "Quire Debug". -->
4+
<string name="app_name">Quire Debug</string>
5+
</resources>

0 commit comments

Comments
 (0)