You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2014/02/25 18:38:21 UTC

[jira] [Created] (CB-6105) Cordova CLI orientation does nothing on iOS

Michal Mocny created CB-6105:
--------------------------------

             Summary: Cordova CLI orientation <preference> does nothing on iOS
                 Key: CB-6105
                 URL: https://issues.apache.org/jira/browse/CB-6105
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, iOS
    Affects Versions: 3.4.0
            Reporter: Michal Mocny


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..)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)