cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-9975) No longer able to use "all" as orientation for ios
Date Fri, 13 Nov 2015 00:09:11 GMT


Shazron Abdullah commented on CB-9975:

Ok so here's what's happening:

root config.xml
<platform name="ios">
   <preference name="orientation" value="all" />

This is copied into the platform config.xml, but of course there is no <platform> tag
anymore, so its this:
   <preference name="orientation" value="all" />

So of course the code tries to read it as a platform preference, but now its actually a global

> No longer able to use "all" as orientation for ios
> --------------------------------------------------
>                 Key: CB-9975
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Raymond Camden
>            Assignee: Shazron Abdullah
>            Priority: Trivial
> Yesterday I blogged about iOS and orientation
> (
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

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

View raw message