Introduce a debug buildType

Now you can have release and debug app on the same phone
This commit is contained in:
nahnah
2026-02-13 17:44:57 +00:00
parent 5ee222d888
commit 64716910bb
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -62,6 +62,12 @@ android {
}
buildTypes {
debug {
// Use a different application ID for debug builds
applicationIdSuffix = ".debug"
// Optional: Add a label suffix to distinguish the app icon
manifestPlaceholders["appLabel"] = "Florid Debug"
}
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
@@ -70,6 +76,7 @@ android {
} else {
signingConfigs.getByName("debug")
}
manifestPlaceholders["appLabel"] = "Florid"
}
}
}
+1 -1
View File
@@ -32,7 +32,7 @@
<uses-permission android:name="android.permission.VIBRATE" />
<application
android:label="Florid"
android:label="${appLabel}"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity