From b0a76b95842134f845e1cdc610080e113f43cf52 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Tue, 12 May 2020 18:18:47 +0900 Subject: [PATCH] different app ID & title in debug mode --- android/app/build.gradle | 3 +++ android/app/src/debug/res/values/strings.xml | 4 ++++ android/app/src/main/AndroidManifest.xml | 4 ++-- android/app/src/main/res/values/strings.xml | 4 ++++ 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 android/app/src/debug/res/values/strings.xml create mode 100644 android/app/src/main/res/values/strings.xml diff --git a/android/app/build.gradle b/android/app/build.gradle index 1b74c5e92..e419096f4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -41,6 +41,9 @@ android { } buildTypes { + debug { + applicationIdSuffix ".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/android/app/src/debug/res/values/strings.xml b/android/app/src/debug/res/values/strings.xml new file mode 100644 index 000000000..e5c92d329 --- /dev/null +++ b/android/app/src/debug/res/values/strings.xml @@ -0,0 +1,4 @@ + + + Aves [Debug] + \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 498e001b4..8e6dd10dc 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -39,7 +39,7 @@ + + Aves + \ No newline at end of file