You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Damian Ibbotson (JIRA)" <ji...@apache.org> on 2018/02/06 15:37:00 UTC

[jira] [Created] (CB-13854) Camera opens in portrait orientation on iphones

Damian Ibbotson created CB-13854:
------------------------------------

             Summary: Camera opens in portrait orientation on iphones
                 Key: CB-13854
                 URL: https://issues.apache.org/jira/browse/CB-13854
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-camera, cordova-plugin-media-capture
    Affects Versions: cordova-ios 4.5.0
         Environment: Cordova 7.1.0, Cordova 8.0.0

iOS 9, 10, 11

cordova-ios 4.5.x

 
            Reporter: Damian Ibbotson


Using app in landscape on iphone and open the camera using a plugin (cordova-plugin-camera, 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-camera.

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

 

Does not affect ipads.

 

 

   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org