From 5506e2ab00679f0d38495346c4d4d053a66f23d6 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 2 Jul 2024 14:58:13 +0200 Subject: [PATCH] Element Enterprise: use different appId for nightly build. --- app/build.gradle.kts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7bc3504d84..f1d5a97bb6 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -156,7 +156,11 @@ android { groups = "external-testers" // This should not be required, but if I do not add the appId, I get this error: // "App Distribution halted because it had a problem uploading the APK: [404] Requested entity was not found." - appId = "1:912726360885:android:e17435e0beb0303000427c" + appId = if (isEnterpriseBuild) { + "1:912726360885:android:3f7e1fe644d99d5a00427c" + } else { + "1:912726360885:android:e17435e0beb0303000427c" + } } } }