Benjamin E. Benjamin E. - 2 months ago 28
iOS Question

Cordova camera resize on orientation change

When taking a photo via

navigator.camera.getPicture
and changing the device's orientation inside the photo interface, the webview's viewport doesn't resize upon returning. The blank space is not part of the HTML document, so internal resizing in the app doesn't help.

A plugin bug? Is there a way to force resizing on the cordova / webview layer?

That's the result of starting vertical, opening the photo interface, turning into horizontal and returning to the app:
enter image description here

Answer

This was just fixed with cordova-plugin-statusbar@2.2.0