Skip to content

Commit

Permalink
[Vision Glass] Correctly update applicationId for global App Gallery
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
felipeerias committed Oct 9, 2024
1 parent 23561ac commit 532ec60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,18 @@ android {

}

androidComponents {
onVariants { 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 = [
Expand Down

0 comments on commit 532ec60

Please sign in to comment.