You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/03/17 12:51:00 UTC

[jira] [Updated] (CB-13983) iOS unlock reverts earlier orientation instead of letting device do its job

     [ https://issues.apache.org/jira/browse/CB-13983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile updated CB-13983:
------------------------------
    Component/s:     (was: cordova-plugin-device-orientation (DEPRECATED))
                 cordova-plugin-screen-orientation

> 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-screen-orientation
>            Reporter: Adam Szmyd
>            Priority: Major
>
> 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