You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/01/09 10:59:53 UTC

[jira] [Resolved] (CB-5745) Orientation preference in config.xml seems to have no effect

     [ https://issues.apache.org/jira/browse/CB-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-5745.
----------------------------

    Resolution: Duplicate

Duplicate of CB-5634

> Orientation preference in config.xml seems to have no effect
> ------------------------------------------------------------
>
>                 Key: CB-5745
>                 URL: https://issues.apache.org/jira/browse/CB-5745
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI, iOS
>    Affects Versions: 3.3.0
>            Reporter: Clark Pan
>            Priority: Minor
>
> The orientation preference in config.xml seems not to do anything.
> Steps to reproduce:
> # Start a new phonegap project
> # edit the `orientation` preference in config.xml to `landscape`
> # Build for iOS or Android
> Expected results:
> The application that is built to be locked to landscape. The respective config files for each platform (AndroidManifest.xml, .plist) editted to reflect the preference in config.xml
> Actual result:
> The application defaults to portrait.
> Workaround:
> Manually edit *-info.plist, or AndroidManifest.xml to the appropriate settings



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)