Skip to content

Commit

Permalink
[Vision Glass] App name and China app id
Browse files Browse the repository at this point in the history
Set the app name of the Vision Glass variant to "Wolvic Vision"
and the application id for China to "com.igalia.wolvic.visionglass".
  • Loading branch information
felipeerias committed Jun 14, 2024
1 parent dcf7947 commit 22cf6e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ android {
visionglass {
dimension "platform"
applicationIdSuffix ".visionglass"
resValue "string", "app_name", "Wolvic Vision Glass"
resValue "string", "app_name", "Wolvic Vision"
targetSdkVersion build_versions.target_sdk_visionglass
externalNativeBuild {
cmake {
Expand Down Expand Up @@ -819,6 +819,8 @@ android.applicationVariants.configureEach { variant ->
if (platform.toLowerCase().startsWith('hvr')) {
variant.resValue 'string', 'HOMEPAGE_URL', '"https://wolvic.com/zh/start/index.html"'
} else if (platform.toLowerCase().startsWith('visionglass')) {
// the full application id will be "com.igalia.wolvic.visionglass"
variant.applicationId "com.igalia.wolvic"
variant.resValue 'string', 'HOMEPAGE_URL', '"https://wolvic.com/zh/start/hvg.html"'
} else if (platform.toLowerCase().startsWith('picoxr')) {
variant.resValue 'string', 'HOMEPAGE_URL', '"https://wolvic.com/zh/start/pico.html"'
Expand Down

0 comments on commit 22cf6e8

Please sign in to comment.