cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Szmyd (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-13983) iOS unlock reverts earlier orientation instead of letting device do its job
Date Fri, 16 Mar 2018 10:55:00 GMT
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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message