3 Replies Latest reply on Jun 2, 2017 5:04 PM by vangroover

    iOS App icon and splashscreen are broken

    chucks83737585

      After a long time, I have updated all our plugins repository to npm. After that, I am facing a strange issue only in iOS app. Application icon and the splash screen is broken.

       

      IMG_0168.png

       

      App ID: 445816

       

      config.xml below,

       

      <?xml version="1.0" encoding="UTF-8"?>
      <!--
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you under the Apache License, Version 2.0 (the
       "License"); you may not use this file except in compliance
       with the License.  You may obtain a copy of the License at
      
      
       http://www.apache.org/licenses/LICENSE-2.0
      
      
       Unless required by applicable law or agreed to in writing,
       software distributed under the License is distributed on an
       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       KIND, either express or implied.  See the License for the
       specific language governing permissions and limitations
       under the License.
      -->
      <widget xmlns         = "http://www.w3.org/ns/widgets"
          xmlns:gap     = "http://phonegap.com/ns/1.0"
              xmlns:android = "http://schemas.android.com/apk/res/android"
              id            = "com.xxx.xxxxx"
              versionCode   = "1755"
              version       = "1.9.1755">
          <name>Xxxx xxx</name>
      
      
          <description>
              Xxxx Xxxx xxxxxx xxx xxx xxx xxx xxxx
          </description>
      
      
          <author href="http://www.xxxx.com" email="support@xxx.com">
              Xxx xx xxx xxxx xxxx
          </author>
      
      
          <gap:config-file platform="android" parent="/manifest">
              <application>
                  <activity android:launchMode="singleTask" android:alwaysRetainTaskState="true"/>
              </application>
          </gap:config-file>
      
      
          <!--  <access origin="*" />  -->
          <allow-navigation href="*" />
          <access origin="*://*.coremetrics.com/*" subdomains="true" />
          <access origin="*://*.xxxx.com/*" subdomains="true" />
          <access origin="*://*.xxxx.com/*" subdomains="true" />
          <access origin="*://*.xxxx.com/*" subdomains="true" />
          <access origin="*://s3.amazonaws.com/assets.xxx.xxx.com/*" subdomains="true" />
          <!-- Google Maps API... -->
          <access origin="*://*.googleapis.com/*" subdomains="true" />
          <access origin="*://*.gstatic.com/*" subdomains="true" />
          <access origin="*://*.google.com/*" subdomains="true" />
          <access origin="*://*.googleusercontent.com/*" subdomains="true" />
          <!-- YouTube videos... -->
          <access origin="*://*.youtube.com/*" subdomains="true" />
          <access origin="*://*.googlevideo.com/*" subdomains="true" />
          <access origin="*://*.ytimg.com/*" subdomains="true" />
          <access origin="tel:*" launch-external="yes" />
      
      
          <!-- Only Build for ios and android at the moment -->
          <gap:platform name="ios" />
          <gap:platform name="android" />
      
      
          <content src="index.html" />
      
      
          <!-- Preferences.  See http://docs.build.phonegap.com/en_US/configuring_preferences.md.html#Preferences -->
          <preference name="loglevel" value="DEBUG" />
          <preference name="phonegap-version" value="cli-6.5.0" />
          <preference name="orientation" value="portrait" />
          <preference name="DisallowOverscroll" value="true" />
      
      
          <!-- iOS Specific Preferences... -->
          <preference name="target-device" value="handset" />
          <preference name="deployment-target" value="7.0" />
          <preference name="detect-data-types" value="false" />
      
      
          <!-- Android Specific Preferences... -->
          <preference name="android-minSdkVersion" value="15" /> <!-- Ice Cream Sandwich MR1 (4.0.3 and 4.0.4) -->
          <preference name="android-windowSoftInputMode" value="stateUnspecified|adjustPan" />
          
        <feature name="http://api.phonegap.com/1.0/file"/>
        <feature name="http://api.phonegap.com/1.0/network"/>
        <feature name="http://api.phonegap.com/1.0/notification"/>
          <feature name="http://api.phonegap.com/1.0/geolocation"/>
          <feature name="http://api.phonegap.com/1.0/device"/>
      
      
          <plugin name="phonegap-plugin-push" spec="1.9.0" source="npm"/>
          <plugin name="cordova-plugin-device" source="npm"/>
          <plugin name="cordova-plugin-geolocation" source="npm"/>
          <plugin name="cordova-plugin-network-information" source="npm"/>
          <plugin name="cordova-plugin-splashscreen" source="npm"/>
          <plugin name="cordova-plugin-device-orientation" source="npm"/>
          <plugin name="cordova-plugin-inappbrowser" source="npm"/>
          <plugin name="cordova-plugin-dialogs" source="npm"/>
          <plugin name="cordova-plugin-keyboard" source="npm"/>
          <plugin name="cordova-plugin-statusbar" source="npm"/>
          <plugin name="cordova-plugin-whitelist" source="npm" />
      
      
          <preference name="StatusBarOverlaysWebView" value="false" />
      
      
          <!--splashscreen would be shown until we call navigator.splashscreen.hide() -->
          <preference name="SplashScreen" value="screen" />
          <preference name="SplashScreenDelay" value="10000" />
          <!-- Do not auto hide splash on iOS -->
          <preference name="AutoHideSplashScreen" value="false" />
      
      
        <platform name="ios">
        <!-- iOS 6.1 iPhone / iPod Touch -->
           <icon width="57"  height="57"  src="www/res/icon/ios/icon-57.png" />
           <icon width="114" height="114" src="www/res/icon/ios/icon-57@2x.png" />
           <!-- iOS 7.0+ iPhone / iPod Touch  -->
           <icon width="60" height="60" src="www/res/icon/ios/icon-60.png" />
           <icon width="120" height="120" src="www/res/icon/ios/icon-60@2x.png" />
           <!-- iOS 7.0+ iPad -->
           <icon width="76" height="76" src="www/res/icon/ios/icon-76.png" />
           <icon width="152" height="152" src="www/res/icon/ios/icon-76@2x.png" />
           <!-- iOS 6.1,7.0+ iOS Settings Icon -->
           <icon width="29" height="29" src="www/res/icon/ios/icon-small.png" />
           <icon width="58" height="58" src="www/res/icon/ios/icon-small@2x.png" />
           <!-- iOS 7.0+ Spotlight Icon -->
           <icon width="40" height="40" src="www/res/icon/ios/icon-40.png" />
           <icon width="80" height="80" src="www/res/icon/ios/icon-40@2x.png" />
           
           <splash width="320" height="480"   src="www/res/screen/ios/Default.png" />
           <splash width="640" height="960"   src="www/res/screen/ios/Default@2x.png" />
           <splash width="640" height="1136"  src="www/res/screen/ios/Default-568h.png" />
           <splash width="768" height="1024"  src="www/res/screen/ios/Default-Portrait.png"/>
           <splash width="750" height="1334"  src="www/res/screen/ios/Default-667h@2x.png" />
           <splash width="1242" height="2208"  src="www/res/screen/ios/Default-736h@3x.png" />
        </platform>
      
      
          <platform name="android">
        <icon src="www/res/icon/android/icon-36-ldpi.png"  gap:density="ldpi" />
           <icon src="www/res/icon/android/icon-48-mdpi.png"  gap:density="mdpi" />
           <icon src="www/res/icon/android/icon-72-hdpi.png"  gap:density="hdpi" />
           <icon src="www/res/icon/android/icon-96-xhdpi.png" gap:density="xhdpi" />
           
           <splash density="ldpi" src="www/res/screen/android/screen-ldpi-portrait.png" />
           <splash density="mdpi" src="www/res/screen/android/screen-mdpi-portrait.png" />
           <splash density="hdpi" src="www/res/screen/android/screen-hdpi-portrait.png" />
           <splash density="xhdpi" src="www/res/screen/android/screen-xhdpi-portrait.png" />
        </platform>
      
      
          <feature name="Notification">
              <param name="android-package" value="org.apache.cordova.dialogs.Notification" />
          </feature>
          <feature name="Vibration">
              <param name="android-package" value="org.apache.cordova.vibration.Vibration" />
          </feature>
      
      
          <feature name="Notification">
              <param name="ios-package" value="CDVNotification" />
          </feature>
      
      
          <feature name="Keyboard">
              <param name="ios-package" value="CDVKeyboard" onload="true" />
          </feature>
      </widget>
      

       

      Attached folder structure for www folder.