cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Mädler (JIRA) <>
Subject [jira] [Commented] (CB-9240) Cordova splash screen plugin iPad landscape mode issue
Date Tue, 01 Dec 2015 13:22:11 GMT


Martin Mädler commented on CB-9240:

I can confirm this issue is happening with our *iPad only* app, which is locked to landscape

Which means that Deployment Info -> Device Orientation -> Landscape Left and Landscape
Right is checked (Portrait options are unchecked). And in config.xml we have this
<preference name="Orientation" value="landscape"/>

To the issue. The device is in landscape mode; the splash screen in shown correctly in landscape
mode; but as soon as I hide the splash screen from the app (using navigator.splashscreen.hide()),
the landscape view of my app is weirdly rotated by 90 degrees. But the device remains in landscape
mode, so parts of the app are being cut off. But in only happens with a limited set of iOS

Tested on the iPad Air simulator.
iOS 8.1 - Issue present
iOS 8.2 - Issue present
iOS 8.3 - ok
iOS 8.4 - ok
iOS 9.0 - ok
iOS 9.1 - ok

The aforementioned patch (commenting out existing code) seems to fix the issue though. Thanks!

Maybe [~shazron] should take a look at this, who introduced this code in the first place?

> Cordova splash screen plugin iPad landscape mode issue
> ------------------------------------------------------
>                 Key: CB-9240
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>         Environment: iPad iOS 8
>            Reporter: Hetal
>              Labels: ios, landscape, plugin, splashscreen
> I am using the Cordova splash screen plugin (
in my hybrid mobile app targeted for iOS. I have all the splash screen images added to my
project. The reason for using this plugin is to elongate the time for which the splash screen
is shown and I manually hide it later in the app. So my config.xml has the following declarations:
> <preference name="AutoHideSplashScreen" value="false" />
> <preference name="ShowSplashScreenSpinner" value="false"/>
> This plugin works fine in the portrait mode on iPhone and iPad. But on the iPad in landscape
mode, the plugin shows the splash image in portrait mode and consequently my first app view
also shows in the portrait mode even though the device is in landscape mode. 
> The screenshots are available here:

This message was sent by Atlassian JIRA

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

View raw message