cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spencer Elliott (JIRA)" <>
Subject [jira] [Created] (CB-11404) Enabling cordova-plugin-splashscreen on iOS forces iPhone 4 resolution on larger iPhones
Date Thu, 09 Jun 2016 17:56:21 GMT
Spencer Elliott created CB-11404:

             Summary: Enabling cordova-plugin-splashscreen on iOS forces iPhone 4 resolution
on larger iPhones
                 Key: CB-11404
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin SplashScreen
    Affects Versions: 3.2.0
         Environment: OS X version 10.11.5
Xcode version 7.3.1 (7D1014)
Cordova CLI version 6.2.0
cordova-ios version 4.1.1
cordova-plugin-splashscreen version 3.2.2
Node.js version 4.4.3
            Reporter: Spencer Elliott

When configuring a new Cordova project with cordova-ios and cordova-plugin-splashscreen, the
app launches with iPhone 4 resolution, even on larger iPhones (tested iPhone 5s simulator,
iPhone 6 simulator, and iPhone 6 physical device).

Steps to reproduce:
cordova create MyApp
cd MyApp
cordova platform add ios --save
cordova plugin add cordova-plugin-splashscreen --save
mkdir res
curl '' -Lo res/splash.png

Edit config.xml to include this configuration:
<platform name="ios">
    <allow-intent href="itms:*" />
    <allow-intent href="itms-apps:*" />
    <splash src="res/splash.png" width="320" height="480"/>
    <splash src="res/splash.png" width="640" height="960"/>
    <splash src="res/splash.png" width="768" height="1024"/>
    <splash src="res/splash.png" width="1536" height="2048"/>
    <splash src="res/splash.png" width="1024" height="768"/>
    <splash src="res/splash.png" width="2048" height="1536"/>
    <splash src="res/splash.png" width="640" height="1136"/>
    <splash src="res/splash.png" width="750" height="1334"/>
    <splash src="res/splash.png" width="1242" height="2208"/>
    <splash src="res/splash.png" width="2208" height="1242"/>

Run the app on an iPhone 5s (or larger device):
cordova run ios --target=iPhone-5s

And the app will launch with black bars at the top and bottom:

This message was sent by Atlassian JIRA

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

View raw message