Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.3.0
-
Windows 8 (64bit), Android 4.4.2, Cordova-CLI
Description
As shown here in the documentation 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"