Hi!
I got 2 questions about exporting to IOS using phonegap. I've been using Cocoon but since it seems like they died and don't update anymore I've decided to use phonegap.
Tried it first time today and it was really simple and performance was nice!
There are 2 things I was wondering about though and maybe someone who has been using phonegap longer can answer. :)
1. Is this the correct way to add splash and icons in config.xml? Found this on phonegaps site: docs.phonegap.com/phonegap-build/configuring/icons-and-splash
But there were other instructions too that looked different.
We are using cordova cli 6.5.0, right? When I did the following the icons and splash worked great on my test device (iphone 5 - ios 10.3). But will it also work on newer iphones? It only says "iphone" & "iPhone 6 / 6+" in my config. Do I have to add something else for Iphone 7 and newer?
This is how I added icons
<!-- iPhone 6 / 6+ -->
<icon src="icon-60@3x.png" platform="ios" width="180" height="180" />
<!-- iPhone / iPod Touch -->
<icon src="icon-60.png" platform="ios" width="60" height="60" />
<icon src="icon-60@2x.png" platform="ios" width="120" height="120" />
<!-- iPad -->
<icon src="icon-76.png" platform="ios" width="76" height="76" />
<icon src="icon-76@2x.png" platform="ios" width="152" height="152" />
<icon src="icon-83.5@2x.png" platform="ios" width="167" height="167" />
<!-- Settings Icon -->
<icon src="icon-small.png" platform="ios" width="29" height="29" />
<icon src="icon-small@2x.png" platform="ios" width="58" height="58" />
<icon src="icon-small@3x.png" platform="ios" width="87" height="87" />
<!-- Spotlight Icon -->
<icon src="icon-40.png" platform="ios" width="40" height="40" />
<icon src="icon-40@2x.png" platform="ios" width="80" height="80" />
<icon src="icon-40@3x.png" platform="ios" width="120" height="120" />
This is how I added splash
<!-- iPhone and iPod touch -->
<splash src="Default.png" platform="ios" width="320" height="480" />
<splash src="Default@2x.png" platform="ios" width="640" height="960" />
<!-- iPhone 5 / iPod Touch (5th Generation) -->
<splash src="Default-568h@2x.png" platform="ios" width="640" height="1136" />
<!-- iPhone 6 -->
<splash src="Default-667h@2x.png" platform="ios" width="750" height="1334" />
<splash src="Default-Portrait-736h@3x.png" platform="ios" width="1242" height="2208" />
<splash src="Default-Landscape-736h@3x.png" platform="ios" width="2208" height="1242" />
<!-- iPad -->
<splash src="Default-Portrait.png" platform="ios" width="768" height="1024" />
<splash src="Default-Landscape.png" platform="ios" width="1024" height="768" />
<!-- Retina iPad -->
<splash src="Default-Portrait@2x.png" platform="ios" width="1536" height="2048" />
<splash src="Default-Landscape@2x.png" platform="ios" width="2048" height="1536" />
Is this how you do it? I did get a warning about a missing 1024x1024 icon when uploading to testflight.
2 My app did not start at first. It only logged me into game center but newer went from loader layout to the game. I then did some research and replaced the "cordova-plugin-wkwebview" with "cordova-plugin-wkwebview-ionic-xhr" and everything worked fine. Is this something you always have to do in phonegap?
Just thought I would ask here in case someone could clarify a little bit.