Skip to content
Permalink
Browse files
CB-9467 SplashScreen does not show any image in hosted app on Windows 10
  • Loading branch information
daserge committed Aug 7, 2015
1 parent 5aff659 commit 9ea2d4c86f07bd2be449d06c31ab30960bc24c47
Showing 1 changed file with 4 additions and 2 deletions.
@@ -26,9 +26,11 @@ var cordova = require('cordova'),
channel = require('cordova/channel');

var isPhone = (cordova.platformId == "windows") && WinJS.Utilities.isPhone;
var localSplash = null;
var isHosted = window.location.protocol.indexOf('http') === 0;
var localSplash = null;
var bgColor = "#464646"; // default backgrond color; TDOO - read it from .appxmanifest
var splashImageSrc = isPhone ? "ms-appx:///images/splashscreenphone.png" : "ms-appx:///images/splashscreen.png";
var splashImageSrc = (isHosted ? "ms-appx-web" : "ms-appx") + ":///images/"
+ (isPhone ? "splashscreenphone.png" : "splashscreen.png");

var SplashScreen = {
setBGColor: function (cssBGColor) {

0 comments on commit 9ea2d4c

Please sign in to comment.