[
https://issues.apache.org/jira/browse/CB-9511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-9511.
----------------------------------
Resolution: Fixed
Assignee: Shazron Abdullah
Fix Version/s: 5.1.1
This was fixed in a recent version of the CLI.
The "all" preference is iOS specific for now, see docs:
http://cordova.apache.org/docs/en/5.1.1/config_ref_index.md.html#The%20config.xml%20File
> Config .xml Preference Orientation not working for IOS
> ------------------------------------------------------
>
> Key: CB-9511
> URL: https://issues.apache.org/jira/browse/CB-9511
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Gheric Speiginer
> Assignee: Shazron Abdullah
> Fix For: 5.1.1
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> As described in the following link, the `default` Orientation option does not
> enable both portrait and landscape orientations:
> http://forum.ionicframework.com/t/config-xml-preference-orientation-not-working-for-ios/6050
> The problem seems to be in
> https://github.com/apache/cordova-lib/blob/dff78b0779444d06e259140694e07d5e8c5f5308/cordova-lib/src/cordova/metadata/ios_parser.js#L96
> The (undocumented) "all" option is doing what would be expected from the
> `default` option.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]