From c696e9f2755e236afffffd1135e01c51cc25682b Mon Sep 17 00:00:00 2001 From: Eric Kuck Date: Sat, 7 Jul 2018 12:04:34 -0500 Subject: [PATCH] Build with different name and ID in debug mode Signed-off-by: Eric Kuck --- app/build.gradle | 4 ++++ app/src/debug/res/values/strings.xml | 4 ++++ app/src/main/AndroidManifest.xml | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 app/src/debug/res/values/strings.xml diff --git a/app/build.gradle b/app/build.gradle index b344581d..c93223dd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -40,6 +40,10 @@ android { release { if (keystorePropertiesFile.exists()) signingConfig signingConfigs.release } + debug { + applicationIdSuffix ".debug" + versionNameSuffix "-debug" + } } externalNativeBuild { cmake { diff --git a/app/src/debug/res/values/strings.xml b/app/src/debug/res/values/strings.xml new file mode 100644 index 00000000..60e016ea --- /dev/null +++ b/app/src/debug/res/values/strings.xml @@ -0,0 +1,4 @@ + + + WireGuard β + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 13c5a223..e422c566 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -9,7 +9,7 @@ + android:permission="${applicationId}.permission.CONTROL_TUNNELS">