You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Clark Pan (JIRA)" <ji...@apache.org> on 2014/01/08 04:58:50 UTC
[jira] [Created] (CB-5745) Orientation preference in config.xml
seems to have no effect
Clark Pan created CB-5745:
-----------------------------
Summary: 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)