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)