cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GSWtech (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9975) No longer able to use "all" as orientation for ios
Date Fri, 18 Mar 2016 10:06:33 GMT

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

GSWtech commented on CB-9975:
-----------------------------

Simple "Fix" for the issue that is working for android & ios devices (not tested on windows
and others):
Don't use global preference, instead use only platform specific:
<platform name="android">
     <preference name="orientation" value="default" />
</platform>
<platform name="ios">
     <preference name="orientation" value="all" />
</platform>

> No longer able to use "all" as orientation for ios
> --------------------------------------------------
>
>                 Key: CB-9975
>                 URL: https://issues.apache.org/jira/browse/CB-9975
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 5.4.0
>            Reporter: Raymond Camden
>            Assignee: Shazron Abdullah
>            Priority: Trivial
>             Fix For: 5.4.1
>
>
> Yesterday I blogged about iOS and orientation
> (http://www.raymondcamden.com/2015/11/09/cordova-ios-and-orientation-wondering-why-it-is-locked).
Today on Twitter someone noticed that when they set orientation now, they get an error in
the CLI. I updated my CLI to the latest, and can confirm it is now broken. If you set ios
orientation to all, you get:
> Unsupported global orientation: all
> Defaulting to value: default
> This is obviously wrong on two accounts - it wasn't a global orientation (it was ios
only) and all should be supported.



--
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