1 Reply Latest reply on Feb 20, 2017 9:40 AM by xx30633150

    Impossible to change default splash image ios phonegap build cli 6.5.0

    ricardc25930713

      I've been trying to change the splash image for several days but it's impossible.

      I try to build with phonegap cli-6.5.0 (ios: 4.3.1 / android: 6.1.2 / 4.4.3)

      The default cordova image always appears.

      I've tried a lot of things but I can not.

      The same thing happened with the icon but finally i get to change it.

       

       

       

      I currently have the following config.xml file located in the www folder:

      <?xml version='1.0' encoding='utf-8'?>

      <widget

        id="com.ss.mmmmm"

        version="1.0.0"

        xmlns="http://www.w3.org/ns/widgets"

        xmlns:gap   = "http://phonegap.com/ns/1.0"

        xmlns:cdv="http://cordova.apache.org/ns/1.0"

        versionCode = "10">

          <name>Maxilent</name>

          <description>Aplicación de gafas gratis aaaa mmmm</description>

          <author email="mi@email.com" href="http://www.mmmmm.es">Equipo mmmmm</author>

       

          <content src="index.html" />

          <access origin="*" />

          <allow-intent href="http://*/*" />

          <allow-intent href="https://*/*" />

          <allow-intent href="tel:*" />

          <allow-intent href="sms:*" />

          <allow-intent href="mailto:*" />

          <allow-intent href="geo:*" />

          <allow-intent href="itms:*" />

          <allow-intent href="itms-apps:*" />

       

        <plugin name="cordova-plugin-whitelist" version="1.3.1" />

        <plugin name="cordova-plugin-camera" version="2.3.1" />

        <plugin name="cordova-base64-to-gallery" version="4.1.2" />

        <plugin name="cordova-plugin-compat" version="1.1.0" />

        <plugin name="cordova-plugin-splashscreen" spec="4.0.1" /> 

       

        <preference name="phonegap-version" value="cli-6.5.0" /> 

          <preference name="AllowInlineMediaPlayback" value="false" />

          <preference name="BackupWebStorage" value="cloud" />

          <preference name="DisallowOverscroll" value="true" />

        <preference name="Fullscreen" value="true" />

          <preference name="EnableViewportScale" value="false" />

          <preference name="KeyboardDisplayRequiresUserAction" value="true" />

          <preference name="MediaPlaybackRequiresUserAction" value="false" />

          <preference name="SuppressesIncrementalRendering" value="false" />

          <preference name="SuppressesLongPressGesture" value="false" />

          <preference name="Suppresses3DTouchGesture" value="false" />

          <preference name="GapBetweenPages" value="0" />

          <preference name="PageLength" value="0" />

          <preference name="PaginationBreakingMode" value="page" />

          <preference name="PaginationMode" value="unpaginated" />

          <preference name="CameraUsesGeolocation" value="false" />

          <preference name="orientation" value="portrait" />

          <preference name="show-splash-screen-spinner" value="true" />

          <preference name="auto-hide-splash-screen" value="true" />

        <preference name="SplashScreen" value="splash" />

        <preference name="target-device" value="handset" />

        <preference name="prerendered-icon" value="true" />

       

        <icon src="res/icon/ios/icon.png" />

          <icon src="res/icon/ios/icon-57.png"            platform="ios"        width="57"  height="57" />

          <icon src="res/icon/ios/icon-72.png"            platform="ios"        width="72"  height="72" />

          <icon src="res/icon/ios/icon-57-2x.png"         platform="ios"        width="114" height="114" />

          <icon src="res/icon/ios/icon-72-2x.png"         platform="ios"        width="144" height="144" />

        <icon src="res/icon/ios/icon-60-3x.png" platform="ios"  width="180" height="180" />

       

        <splash src="Default.png"  />

        <splash src="res/splash/Default.png" platform="ios"  width="320" height="480"   />

        <splash src="res/splash/Default-480-800.png" platform="ios"  width="480" height="800"   />

        <splash src="res/splash/Default-320-568.png" platform="ios"  width="320" height="568"   />

        <splash src="res/splash/Default-2x.png" platform="ios"  width="640" height="960"   />

        <splash src="res/splash/Default-568h-2x.png" platform="ios"  width="640" height="1136"  />

        <splash src="res/splash/Default-667h-2x.png" platform="ios"  width="750" height="1334"  />

        <splash src="res/splash/Default-Portrait.png" platform="ios"  width="768" height="1024"  />

        <splash src="res/splash/Default-1080.png" platform="ios"  width="1080" height="1920" />

        <splash src="res/splash/Default-Portrait-736h-3x.png" platform="ios"  width="1242" height="2208" />

        <splash src="res/splash/Default-Portrait-2x.png" platform="ios"  width="1536" height="2048" />

       

       

         <platform name="ios">

              <allow-intent href="itms:*" />

              <allow-intent href="itms-apps:*" />

          </platform>

       

      </widget>

       

      Please, somebody can help me.

      Thank you,

      Ricard

        • 1. Re: Impossible to change default splash image ios phonegap build cli 6.5.0
          xx30633150 Level 1

          This works properly for me like this:

           

           

            <platform name="ios">

              <allow-intent href="itms:*"/>

              <allow-intent href="itms-apps:*"/>

              <icon src="resources/ios/icon/icon.png" width="57" height="57"/>

              <icon src="resources/ios/icon/icon@2x.png" width="114" height="114"/>

              <icon src="resources/ios/icon/icon-40.png" width="40" height="40"/>

              <icon src="resources/ios/icon/icon-40@2x.png" width="80" height="80"/>

              <icon src="resources/ios/icon/icon-40@3x.png" width="120" height="120"/>

              <icon src="resources/ios/icon/icon-50.png" width="50" height="50"/>

              <icon src="resources/ios/icon/icon-50@2x.png" width="100" height="100"/>

              <icon src="resources/ios/icon/icon-60.png" width="60" height="60"/>

              <icon src="resources/ios/icon/icon-60@2x.png" width="120" height="120"/>

              <icon src="resources/ios/icon/icon-60@3x.png" width="180" height="180"/>

              <icon src="resources/ios/icon/icon-72.png" width="72" height="72"/>

              <icon src="resources/ios/icon/icon-72@2x.png" width="144" height="144"/>

              <icon src="resources/ios/icon/icon-76.png" width="76" height="76"/>

              <icon src="resources/ios/icon/icon-76@2x.png" width="152" height="152"/>

              <icon src="resources/ios/icon/icon-83.5@2x.png" width="167" height="167"/>

              <icon src="resources/ios/icon/icon-small.png" width="29" height="29"/>

              <icon src="resources/ios/icon/icon-small@2x.png" width="58" height="58"/>

              <icon src="resources/ios/icon/icon-small@3x.png" width="87" height="87"/>

              <splash src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" height="1136"/>

              <splash src="resources/ios/splash/Default-667h.png" width="750" height="1334"/>

              <splash src="resources/ios/splash/Default-736h.png" width="1242" height="2208"/>

              <splash src="resources/ios/splash/Default-Landscape-736h.png" width="2208" height="1242"/>

              <splash src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>

              <splash src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" height="2048"/>

              <splash src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" height="768"/>

              <splash src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>

              <splash src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" height="2732"/>

              <splash src="resources/ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>

              <splash src="resources/ios/splash/Default@2x~iphone.png" width="640" height="960"/>

              <splash src="resources/ios/splash/Default~iphone.png" width="320" height="480"/>

            </platform>