- app in landscape mode
- camera options
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.
the bug (viewport turns portrait) appears in all combinations of
- holding phone in portrait/landscape
- setting correctOrientation to true/false
- using Camera.PictureSourceType.PHOTOLIBRARY/Camera.PictureSourceType.CAMERA
this error occurs after closing the camera picker:
regression from camera 1.2.0
This is a regression - it works reproducably in the following configuration:
it slowly degraded: with cordova-plugin-camera 2.0.0 it showed wrong - but still still could changed by rotating the phone back and forth. With cordova-plugin-camera 2.0.0 the actual phone orientation makes a difference when correctOrientation is set to true - it seems that the bug occurs only when the phone is held in portrait during the camera open
-> seems to be related to correctOrientation