cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rinku Kumari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11425) iOS Orientation Unlock Behavior Inconsistent with Android
Date Mon, 11 Jul 2016 09:41:11 GMT

    [ https://issues.apache.org/jira/browse/CB-11425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370468#comment-15370468
] 

Rinku Kumari commented on CB-11425:
-----------------------------------

If you are running app through xCode (for iOS of course) then you have to check all orientation
in project general deployment Info.

You can enable all rotation first then onDeviceReady() you can restrict to portrait only and
then unlock whenever you want

> iOS Orientation Unlock Behavior Inconsistent with Android
> ---------------------------------------------------------
>
>                 Key: CB-11425
>                 URL: https://issues.apache.org/jira/browse/CB-11425
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Screen Orientation
>    Affects Versions: 1.4.2
>         Environment: Cordova 4.0.0 (iOS 3.8.0)
> Screen Orientation Plugin 1.4.2
> iOS 9.3.2
> Android 5.0.1
>            Reporter: Joe Meeks
>            Assignee: Shazron Abdullah
>
> When setting the supported interface orientation to only portrait and running the deployed
app on iOS and Android devices, the screen.unlockOrientation() method enables landscape orientation
rotation on only Android but not iOS.
> When setting the supported interface orientation to both portrait and landscape and running
the deployed app on iOS and Android devices, the screen.unlockOrientation() method enables
landscape orientation rotation on both Android and iOS.
> Configuring the app as portrait only and then programmatically unlocking and enabling
landscape orientation is desirable for single-orientation splash screen display and preventing
this other rotation bug:
> https://issues.apache.org/jira/browse/CB-11423



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message