Github user Sh1d0w commented on the issue:

    https://github.com/apache/cordova-plugin-screen-orientation/pull/11
  
    The proposed fix works ok (reverted `screenObject.nativeLock !== null` back 
to `screenObject.nativeLock != null`), expect that it does not force rotate the 
screen if you are already holding the phone in that orientation. What I mean:
    
    Lock the screen to landscape while holding the phone vertically. It will 
work ok.
    Rotate the phone horizontal, then rotate it again vertically.
    
    Now lock the phone to portrait, the web view will remain in landscape mode 
until you shake it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to