Sven Tobback created CB-13132:
---------------------------------
Summary: iOS: Locking orientation doesn't work after pause/resume
Key: CB-13132
URL: https://issues.apache.org/jira/browse/CB-13132
Project: Apache Cordova
Issue Type: Bug
Components: cordova-plugin-screen-orientation
Reporter: Sven Tobback
Assignee: Vishal Mishra
When rotating an iPhone to landscape
(window.screen.orientation.lock('landscape')), then pause and resuming the app,
and rotating the device back to portait
(window.screen.orientation.lock('portait')), the app stays in landscape.
Sample:
https://wetransfer.com/downloads/5c7fe8f1a82b9d085252e4ad78f7727f20170731143343/19fbca890a937721c9e724f5680f71b620170731143343/05d394
Steps to reproduce:
1. Open app
2. Click "rotate landscape" to set orientation to landscape
3. Pause app
4. Resume app
5. Click "rotate portrait" to set orientation to portrait
6. Nothing happens, app stays in landscape
7. Only after wiggling the d
Same steps without pause/resume doesn't give any issues.[^attachment-name.zip]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]