You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Thomas Fétiveau (JIRA)" <ji...@apache.org> on 2018/05/07 10:51:00 UTC

[jira] [Created] (CB-14079) window.screen.orientation.unlock() not working correctly in iOS 11

Thomas Fétiveau created CB-14079:
------------------------------------

             Summary: window.screen.orientation.unlock() not working correctly in iOS 11
                 Key: CB-14079
                 URL: https://issues.apache.org/jira/browse/CB-14079
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-screen-orientation
            Reporter: Thomas Fétiveau


Hi !

I'm having the following problem on iOS 11 + wkwebview + cordova-plugin-screen-orientation v3.0.1:

My app is by default in portait mode. One page in my application call `window.screen.orientation.unlock()` when it shows up. This won't work until I go to the system settings to unlock orientation and call `window.screen.orientation.unlock()` once again...

Calling once again `window.screen.orientation.unlock()` should not be necessary!

Can you please fix it?

Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org