[
https://issues.apache.org/jira/browse/CB-9975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003268#comment-15003268
]
Shazron Abdullah edited comment on CB-9975 at 11/13/15 12:08 AM:
-----------------------------------------------------------------
Ok so here's what's happening:
root config.xml
{code}
<platform name="ios">
<preference name="orientation" value="all" />
</platform>
{code}
This is copied into the platform config.xml, but of course there is no
<platform> tag anymore, so it's this:
{code}
<preference name="orientation" value="all" />
{code}
So of course the code tries to read it as a platform preference, but now its
actually a global preference.
was (Author: shazron):
Ok so here's what's happening:
root config.xml
{code}
<platform name="ios">
<preference name="orientation" value="all" />
</platform>
{code}
This is copied into the platform config.xml, but of course there is no
<platform> tag anymore, so its this:
{code}
<preference name="orientation" value="all" />
{code}
So of course the code tries to read it as a platform preference, but now its
actually a global preference.
> 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
> Reporter: Raymond Camden
> Assignee: Shazron Abdullah
> Priority: Trivial
>
> 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: [email protected]
For additional commands, e-mail: [email protected]