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

Camera opens in portrait orientation on iphones

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • cordova-ios 4.5.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: