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
Posts: 9
Reputation: 1,485

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:

/ Jan
Posts: 45
Reputation: 829

Post » Tue Dec 05, 2017 1:06 am

Hello, I am having the same problem. What exactly did you do to these lines of code? Did you change them or delete them?
Posts: 1
Reputation: 227

Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 3 guests