From b2b4412b63de91dcd5e7eb53cf710282bb9dccdf Mon Sep 17 00:00:00 2001 From: Andre Bandarra Date: Thu, 26 Nov 2020 10:42:48 +0000 Subject: [PATCH] Sets LaunchActivity orientation value in the XML instead of using a resource --- packages/core/template_project/app/build.gradle | 2 -- packages/core/template_project/app/src/main/AndroidManifest.xml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/core/template_project/app/build.gradle b/packages/core/template_project/app/build.gradle index 56c67b87..70702547 100644 --- a/packages/core/template_project/app/build.gradle +++ b/packages/core/template_project/app/build.gradle @@ -45,7 +45,6 @@ def twaManifest = [ fallbackType: '<%= fallbackType %>', enableSiteSettingsShortcut: '<%= enableSiteSettingsShortcut %>', orientation: '<%= orientation %>', - splashOrientation: '<%= toAndroidScreenOrientation(orientation) %>', ] android { @@ -144,7 +143,6 @@ android { resValue "bool", "enableSiteSettingsShortcut", twaManifest.enableSiteSettingsShortcut resValue "string", "orientation", twaManifest.orientation - resValue "string", "splashOrientation", twaManifest.splashOrientation } buildTypes { release { diff --git a/packages/core/template_project/app/src/main/AndroidManifest.xml b/packages/core/template_project/app/src/main/AndroidManifest.xml index 588ec5f1..9c8eab69 100644 --- a/packages/core/template_project/app/src/main/AndroidManifest.xml +++ b/packages/core/template_project/app/src/main/AndroidManifest.xml @@ -64,7 +64,7 @@ <% } %>