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

Cordova CLI orientation <preference> does nothing on iOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • None
    • cordova-cli
    • None
    • iOS

    Description

      There is a multi-platform app config <preference> for orientation, documented here: http://cordova.apache.org/docs/en/edge/config_ref_index.md.html#The%20config.xml%20File_global_preferences

      CLI's android_parser.js specifically looks for this tag and updates AndroidManifest, but ios_parser.js does not. I think it should be updating the UISupportedInterfaceOrientations array in the app's plist.

      (Also, generally the way we do orientations is pretty poor and could do with an overhaul, alas..)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmocny Michal Mocny
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: