Adam Szmyd created CB-13983:
-------------------------------

             Summary: iOS unlock reverts earlier orientation instead of letting 
device do its job
                 Key: CB-13983
                 URL: https://issues.apache.org/jira/browse/CB-13983
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-device-orientation (DEPRECATED)
            Reporter: Adam Szmyd


Scenaio:
 # Rotate phone to landscape 
 # Force portrait by invoking `screen.orientation.lock('portrait')`
 # Turn phone into portrait mode
 # Release orientation lock using `screen.orientation.unlock()`

Result:

*Plugin reverts last orientation and phone changes to landscape*

Expected result:

*Phone should decide by its own in which orientation it is after unlock so it 
should remain in portrait mode in the above example.*



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

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

Reply via email to