You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Wojciech Trocki (JIRA)" <ji...@apache.org> on 2018/05/13 11:58:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16473455#comment-16473455 ] 

Wojciech Trocki commented on CB-13983:
--------------------------------------

[~aszmyd] Thank you for logging issue. 
I have sent PR to resolve this issue as part of other jira:
https://issues.apache.org/jira/browse/CB-14079

PR: https://github.com/apache/cordova-plugin-screen-orientation/pull/32

PR is waiting for review from Cordova team. 


> 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