Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14079

window.screen.orientation.unlock() not working correctly in iOS 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            zabojad Thomas Fétiveau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: