You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joshua Barnett (JIRA)" <ji...@apache.org> on 2014/01/21 12:58:19 UTC
[jira] [Created] (CB-5843) Orientation Preference
Joshua Barnett created CB-5843:
----------------------------------
Summary: Orientation Preference
Key: CB-5843
URL: https://issues.apache.org/jira/browse/CB-5843
Project: Apache Cordova
Issue Type: Bug
Components: Android, CLI
Affects Versions: 3.3.0
Environment: Windows 8 (64bit), Android 4.4.2, Cordova-CLI
Reporter: Joshua Barnett
Fix For: 3.4.0
As shown [here in the documentation|http://cordova.apache.org/docs/en/3.3.0/config_ref_index.md.html#The%20config.xml%20File_global_preferences] to set the orientation of the application a preference option in the {{config.xml}} should be used.
{{<preference name="Orientation" value="landscape" />}}
However this makes no change to the application's orientation when tested on my Android mobile devices.
When looking at the built {{AndroidManifest.xml}} in the {{platforms/android}} directory it's clear that it is missing the required activity attribute.
{{android:screenOrientation="landscape"}}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)