From d7fefbfefda33a931ba2a8418657fcb44111fc75 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 19 May 2023 17:24:06 +0200 Subject: [PATCH] app: Use different name and id for android debug --- packages/app/android/app/build.gradle | 5 +++++ packages/app/android/app/src/debug/res/values/string.xml | 4 ++++ packages/app/android/app/src/main/AndroidManifest.xml | 2 +- packages/app/android/app/src/main/res/values/string.xml | 4 ++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 packages/app/android/app/src/debug/res/values/string.xml create mode 100644 packages/app/android/app/src/main/res/values/string.xml diff --git a/packages/app/android/app/build.gradle b/packages/app/android/app/build.gradle index d1be878b..a2e0bbe9 100644 --- a/packages/app/android/app/build.gradle +++ b/packages/app/android/app/build.gradle @@ -53,6 +53,11 @@ android { } buildTypes { + debug { + applicationIdSuffix ".debug" + versionNameSuffix "-debug" + } + release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. diff --git a/packages/app/android/app/src/debug/res/values/string.xml b/packages/app/android/app/src/debug/res/values/string.xml new file mode 100644 index 00000000..dd09f307 --- /dev/null +++ b/packages/app/android/app/src/debug/res/values/string.xml @@ -0,0 +1,4 @@ + + + Neon Debug + diff --git a/packages/app/android/app/src/main/AndroidManifest.xml b/packages/app/android/app/src/main/AndroidManifest.xml index b004a462..86bb0637 100644 --- a/packages/app/android/app/src/main/AndroidManifest.xml +++ b/packages/app/android/app/src/main/AndroidManifest.xml @@ -4,7 +4,7 @@ diff --git a/packages/app/android/app/src/main/res/values/string.xml b/packages/app/android/app/src/main/res/values/string.xml new file mode 100644 index 00000000..987f166a --- /dev/null +++ b/packages/app/android/app/src/main/res/values/string.xml @@ -0,0 +1,4 @@ + + + Neon +