From 43f98cec43fab96c486f5dfdeb7898788c99e17a Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Tue, 15 Aug 2023 21:31:34 +0700 Subject: [PATCH] build: make variant more identifiable Release variant will use the "ReVanced Manager" app name, Debug will use "ReVanced Manager Debug" --- android/app/build.gradle | 6 +++--- android/app/src/main/AndroidManifest.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 0f849f6c..8663736a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -52,8 +52,7 @@ android { buildTypes { release { - shrinkResources false - minifyEnabled false + resValue "string", "app_name", "ReVanced Manager" signingConfig signingConfigs.debug ndk { abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64' @@ -62,8 +61,9 @@ android { debug { shrinkResources false minifyEnabled false - signingConfig signingConfigs.debug + resValue "string", "app_name", "ReVanced Manager Debug" applicationIdSuffix ".debug" + signingConfig signingConfigs.debug ndk { abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64' } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 69b3f6d6..85483241 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -20,7 +20,7 @@