cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shakhnazarov (JIRA)" <>
Subject [jira] [Created] (CB-10263) Fix splashscreen plugin filenames for Asset Catalog
Date Sat, 26 Dec 2015 16:36:49 GMT
Sergey Shakhnazarov created CB-10263:

             Summary: Fix splashscreen plugin filenames for Asset Catalog
                 Key: CB-10263
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin SplashScreen
         Environment: ios@4.0.1
            Reporter: Sergey Shakhnazarov
            Assignee: Sergey Shakhnazarov
            Priority: Critical

cordova create test
cd test
cordova platform add ios@4
cordova plugin add

// add to config.xml:
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <splash src="res/screen/ios/Default~iphone.png" width="320" height="480"/>
        <splash src="res/screen/ios/Default@2x~iphone.png" width="640" height="960"/>
        <splash src="res/screen/ios/Default-Portrait~ipad.png" width="768" height="1024"/>
        <splash src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
        <splash src="res/screen/ios/Default-Landscape~ipad.png" width="1024" height="768"/>
        <splash src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
        <splash src="res/screen/ios/Default-568h@2x~iphone.png" width="640" height="1136"/>
        <splash src="res/screen/ios/Default-667h.png" width="750" height="1334"/>
        <splash src="res/screen/ios/Default-736h.png" width="1242" height="2208"/>
        <splash src="res/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>
        <preference name="AutoHideSplashScreen" value="false" />
        <preference name="FadeSplashScreen" value="true"/>
        <preference name="FadeSplashScreenDuration" value="1500"/>
    <preference name="SplashScreenDelay" value="2000" />
    <preference name="ShowSplashScreenSpinner" value="true"/>
    <preference name="Orientation" value="all"/>

// add to index.js deviceready event:
setTimeout(navigator.splashscreen.hide, 3000);

cordova emulate ios --target=iPhone-6-Plus

Splash screen will be shown briefly and after that the image will disappear leaving only the
The following message will be logged out:
*WARNING: The splashscreen image named LaunchImage-736h was not found*

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message