Phonegap Splashscreen iOS build

Discussion of tools and resources for game developers

Post » Sun Sep 10, 2017 8:17 pm

Hi you all,
Have you recently tried to build a project for ios using Phonegap?
I am trying to build some old construct2 projects and test them on apple devices, but I can`t remove the default cordova splashscreen, no matter what I do. I have tried every tip I found on this forum and in the phonegap and cordova documentation, but the cordova default splashscreen keeps showing up when I open the game on the ipad. Phonegap seems to be just ignoring whatever preferences I use for the splashscren plugin. I am going the simplest way possible, just trying to remove the splashscreen using the preferences in the config.xml:

<preference name="SplashScreenDelay" value="0" />
<preference name="AutoHideSplashScreen" value="true" />

I even tried to use hide it in the deviceready function in index.html, but also no success. So I wanted to just know if some of you have recently been able to use phonegap online build feature and have successfully been able to change icons and change/remove the splashscreen.

Thanks in advance
B
21
S
6
Posts: 1
Reputation: 1,227

Post » Thu Sep 14, 2017 11:39 pm

I just had the same problem. Very frustrating. The solution was these lines in the config.xml file:
<preference name='phonegap-version' value='cli-7.0.1' />
<splash src="[email protected]~universal~anyany.png" />

- And you can do some other stuff too: http://bit.ly/2jsLljU

/ Jan
B
16
S
2
Posts: 45
Reputation: 829


Return to Tools and Resources

Who is online

Users browsing this forum: Walessio and 4 guests