[ 
https://issues.apache.org/jira/browse/CB-11287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305930#comment-15305930
 ] 

Michael Schmidt commented on CB-11287:
--------------------------------------

this issue appears 
- for both camera roll & picker 
- device must be in landscape (landscape left / landscape right) before opening 
the camera

showing the camera popover / camera picker in landscape destroys the webview 
orientation
- iOS shows the request for permission ("App Would Like to Access Your Photos") 
as well as the camera picker only in portrait mode
- the webview doesn't return to landscape mode - this holds true even when 
portrait in general is allowed in the app and the device is rotated manually 
back and forth to landscape

> iOS: landscape iPhone app: orientation turns to portrait after camera 
> displayed
> -------------------------------------------------------------------------------
>
>                 Key: CB-11287
>                 URL: https://issues.apache.org/jira/browse/CB-11287
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.2.0
>         Environment: cordova 6.1.1
> ios 4.1.1
> cordova-plugin-camera 2.2.0 "Camera"
>            Reporter: Michael Schmidt
>            Priority: Critical
>              Labels: iOS
>
> *situation*
> * app in landscape mode
> {code:JavaScript}
>   <preference name="Orientation" value="landscape" />
> {code}
> * camera options
> {code:JavaScript}
> {
>  destinationType: Camera.DestinationType.FILE_URI,
>  sourceType: Camera.PictureSourceType.CAMERA,
>  encodingType: Camera.EncodingType.JPEG,
>  mediaType: Camera.MediaType.PICTURE,
> };
> {code}
> *problem*
> After displaying the camera, the app viewport turns to portrait mode - 
> despite that the whole app is set to landscape.
> This takes place for either taking a picture or pressing cancel.
> This bug occurs only on iPhone, it works on iPad though.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to