Michael Schmidt created CB-11287:
------------------------------------
Summary: 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
## situation
app in landscape mode
```
<preference name="Orientation" value="landscape" />
```
camera options
```
{
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.CAMERA,
encodingType: Camera.EncodingType.JPEG,
mediaType: Camera.MediaType.PICTURE,
};
```
## 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]