Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 5e7f2ac

Browse files
fix(win10): read splashscreen correctly from manifest (#358)
Co-authored-by: Jesse MacFadyen <purplecabbage@gmail.com>
1 parent 0454321 commit 5e7f2ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cordova-js-src/confighelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var utils = require('cordova/utils');
2525

2626
var isPhone = (cordova.platformId === 'windows') && WinJS.Utilities.isPhone;
2727
var isWin10UWP = navigator.appVersion.indexOf('MSAppHost/3.0') !== -1;
28-
var splashScreenTagName = isWin10UWP ? 'SplashScreen' : (isPhone ? 'm3:SplashScreen' : 'm2:SplashScreen');
28+
var splashScreenTagName = isWin10UWP ? "uap:SplashScreen" : (isPhone ? "m3:SplashScreen" : "m2:SplashScreen");
2929

3030
function XmlFile (text) {
3131
this.text = text;

0 commit comments

Comments
 (0)