diff --git a/android/app/build.gradle b/android/app/build.gradle index 1c6d409f65b4e7b7cdf05883a7315ce534e1b907..d7a2dc031be6334f2972f94cbd7b62e2fa4bf939 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -43,7 +43,6 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "io.ente.photos" minSdkVersion 16 targetSdkVersion 28 @@ -65,6 +64,15 @@ android { release { signingConfig signingConfigs.release } + debug { + applicationIdSuffix '.debug' + versionNameSuffix "-debug" + externalNativeBuild { + cmake { + arguments "-DANDROID_PACKAGE_NAME=${android.defaultConfig.applicationId}${applicationIdSuffix}" + } + } + } } } 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 0000000000000000000000000000000000000000..85e2970e65b3a216d868f416761cb4c06688231d --- /dev/null +++ b/android/app/src/debug/res/values/strings.xml @@ -0,0 +1,3 @@ + + Photos Debug + diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 8c2529a72f32594deb55dc4aa6005d7b1d1a8a39..b4fd53443776c1e19598babc96a9d538dc220878 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -7,7 +7,7 @@ FlutterApplication and put your custom class here. --> + Photos +