You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/07/15 12:26:28 UTC

[cordova-windows] 01/01: fix(win10): read splashscreen correctly from manifest

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-splashscreen
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git

commit 1a2689555da1c758e8cfbb70b8408e47745fc5a3
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Mon Jul 15 14:26:21 2019 +0200

    fix(win10): read splashscreen correctly from manifest
---
 cordova-js-src/confighelper.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cordova-js-src/confighelper.js b/cordova-js-src/confighelper.js
index c166052..4b55c45 100644
--- a/cordova-js-src/confighelper.js
+++ b/cordova-js-src/confighelper.js
@@ -25,7 +25,7 @@ var utils = require("cordova/utils");
 
 var isPhone = (cordova.platformId == 'windows') && WinJS.Utilities.isPhone;
 var isWin10UWP = navigator.appVersion.indexOf('MSAppHost/3.0') !== -1;
-var splashScreenTagName = isWin10UWP ? "SplashScreen" : (isPhone ? "m3:SplashScreen" : "m2:SplashScreen");
+var splashScreenTagName = isWin10UWP ? "uap:SplashScreen" : (isPhone ? "m3:SplashScreen" : "m2:SplashScreen");
 
 function XmlFile(text) {
     this.text = text;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org