How to prevent default cordova splash screen (grey ugly block with lights)?

2
\ How can we hide this during startup the mobile app?
asked
1 answers
1

Found it, it has to do with the initial size of your splashscreen. So all supported screen resolutions must be in the config.xml:

<gap:platform name="ios" />
<icon src="res/ios/icon-60.png" gap:platform="ios" width="60" height="60" />
<gap:splash src="res/ios/Default.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="res/ios/Default@2x.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="res/ios/Default-568h@2x.png" gap:platform="ios" width="640" height="1136" />
<icon src="res/ios/icon@2x.png" gap:platform="ios" width="114" height="114" />
<icon src="res/ios/icon-50@2x.png" gap:platform="ios" width="100" height="100" />
<icon src="res/ios/icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="res/ios/icon-small.png" gap:platform="ios" width="29" height="29" />
<icon src="res/ios/icon-60@2x.png" gap:platform="ios" width="120" height="120" />
<icon src="res/ios/icon.png" gap:platform="ios" width="57" height="57" />
<gap:splash src="res/ios/Default-Portrait-750h@3x.png" gap:platform="ios" width="750" height="1334" />
<gap:splash src="res/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="res/ios/Default-Landscape.png" gap:platform="ios" width="1024" height="768" />
<gap:splash src="res/ios/Default-Landscape-750h@3x.png" gap:platform="ios" width="1334" height="750" />
<gap:splash src="res/ios/Default-Landscape@3x.png" gap:platform="ios" width="2208" height="1242" />
<icon src="res/ios/icon-40@2x.png" gap:platform="ios" width="80" height="80" />
<icon src="res/ios/icon-76@2x.png" gap:platform="ios" width="152" height="152" />
<gap:splash src="res/ios/Default-Landscape@2x.png" gap:platform="ios" width="2048" height="1536" />
<icon src="res/ios/icon-40.png" gap:platform="ios" width="40" height="40" />
<icon src="res/ios/icon-small@2x.png" gap:platform="ios" width="58" height="58" />
<gap:splash src="res/ios/Default-Portrait@3x.png" gap:platform="ios" width="1242" height="2208" />
<gap:splash src="res/ios/Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048" />
<icon src="res/ios/icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="res/ios/icon-50.png" gap:platform="ios" width="50" height="50" />
<icon src="res/ios/icon-72@2x.png" gap:platform="ios" width="144" height="144" />	

 

answered