Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5843

Orientation Preference

    XMLWordPrintableJSON

Details

    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"

      Discussion

      Attachments

        Activity

          People

            Unassigned Unassigned
            SyntheCypher Joshua Barnett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified