From c758d35f31ae5f84a0228fb3f1e6a8806c12d118 Mon Sep 17 00:00:00 2001 From: Felipe Erias Date: Wed, 25 Sep 2024 10:59:56 +0900 Subject: [PATCH] [Vision Glass] Correctly update applicationId for global App Gallery To release Wolvic in the global App Gallery, we need to use this application ID: com.igalia.wolvic.world.visionglass This commit replaces an earlier one that was not working as expected. --- app/build.gradle | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 048097b692..0fa516986c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -436,6 +436,18 @@ android { } + androidComponents { + onVariants(selector().all()) { variant -> + def platform = variant.productFlavors.get(0).second + def store = variant.productFlavors.get(3).second + + // Adjust the applicationId so it matches what the store expects. + if (platform == "visionglass" && store == "generic") { + variant.applicationId.set("com.igalia.wolvic.world.visionglass") + } + } + } + sourceSets { main { java.srcDirs = [