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

Orientation preference's value set to anything but "landscape" or "portrait" doesn't work.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-android
    • None

    Description

      cordova-cli: 4.1.2
      cordova-android: 3.6.4
      mac: osx yosemite

      In config.xml, setting the orientation preference's value to anything but "landscape" or "portrait" doesn't work. Complete list of possible value: http://developer.android.com/guide/topics/manifest/activity-element.html#screen

      For example when setting the value to "userLandscape" and building the app (cordova build android), I'm getting this message: "Unknown value for orientation preference: userLandscape".

      Attachments

        Activity

          People

            Unassigned Unassigned
            welovewebdesign RĂ©mi Couturier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: