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

Camera opens in portrait orientation on iphones

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: cordova-ios 4.5.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Cordova 7.1.0, Cordova 8.0.0

      iOS 9, 10, 11

      cordova-ios 4.5.x

       

      Description

      Using app in landscape on iphone and open the camera using a plugin (cordova-plugin-media-capture).  The camera opens in portrait mode.  Dialogs to request permissions are therefore rotated, as is button text.

      Replicated with HelloCordova app with addition of cordova-plugin-media-capture.

      Using cordova-plugin-screen-orientation, we can see that an event to change the orientation to portrait-primary is fired when the camera is opened.

       

      Does not affect ipads.

       

       

         

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcesarmobile jcesarmobile
                Reporter:
                jcesarmobile jcesarmobile
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: