[
https://issues.apache.org/jira/browse/CB-11287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Schmidt updated CB-11287:
---------------------------------
Component/s: iOS
> 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: iOS, 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
>
> *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]