Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
4.1.1
-
None
-
None
-
Mac OS 10.11.4, iOS 9.3.1, iPhone 6
Description
CB-10884 also affects the camera plugin. Rotate the device to landscape and launch the camera. Rotate to portrait while the camera window is open, then close the camera window. The viewport doesn't adjust to fill the screen.
config.xml:
<preference name="Orientation" value="all" platform="ios" /> <engine name="ios" spec="4.1.1" /> <plugin name="cordova-plugin-whitelist" spec="1.2.2" /> <plugin name="cordova-plugin-statusbar" spec="2.1.3" /> <plugin name="cordova-plugin-file" spec="4.2.0" /> <plugin name="cordova-plugin-camera" spec="2.2.0" />
Code to launch camera:
navigator.camera.getPicture(function(){}, function(){}, { sourceType: Camera.PictureSourceType.CAMERA, destinationType: Camera.DestinationType.FILE_URI });
Attachments
Issue Links
- is a clone of
-
CB-11191 Statusbar plugin causing issues with webview size
- Closed