You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Florian Berton <fb...@touchify.co> on 2014/07/15 17:11:30 UTC

Configure a splashScreen on windows8 is not working

Hi everybody,
I desperately can't set up a splashscreen on windows8 by using the global config.xml.
Apparently two methods exists :

  *   (old method)
<preference name="SplashScreen" value="splashscreen" />
Console says : unable to locate splashscreen
The file splashscreen.png is located in the platforms/windows8 folder

  *   (new method)
<splash src="icons/windows8/splashscreen.png" width="620" height="300" />
The folder icons is located at the root of my cordova project.
Is it normal ? Do I miss something ?

Thanks for your response.

Florian

RE: Configure a splashScreen on windows8 is not working

Posted by "Sergey Grebnov (Akvelon)" <v-...@microsoft.com>.
The second method is 100% correct, pls double check you are running the latest cordova version (3.5.0-0.2.6)

cordova -version
3.5.0-0.2.6

cordova prepare windows8 -d
If everything is correct you should see that the following image is replaced 
app\platforms\windows8\images\splashscreen.png

app
--icons
   --windows8 ..
--platforms
    --windows8

Thx!
Sergey
-----Original Message-----
From: Florian Berton [mailto:fberton@touchify.co] 
Sent: Tuesday, July 15, 2014 7:12 PM
To: dev@cordova.apache.org
Subject: Configure a splashScreen on windows8 is not working

Hi everybody,
I desperately can't set up a splashscreen on windows8 by using the global config.xml.
Apparently two methods exists :

  *   (old method)
<preference name="SplashScreen" value="splashscreen" /> Console says : unable to locate splashscreen The file splashscreen.png is located in the platforms/windows8 folder

  *   (new method)
<splash src="icons/windows8/splashscreen.png" width="620" height="300" /> The folder icons is located at the root of my cordova project.
Is it normal ? Do I miss something ?

Thanks for your response.

Florian