[ 
https://issues.apache.org/jira/browse/CB-13983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473944#comment-16473944
 ] 

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

[~aszmyd] Acutally I found that both PRs are fixing same problems, but so I 
would love to merge them together into one and get some cordova maintainer 
attention in order to get that on master.
I will work go get that done.
Current screen orientation plugin has many quirks (you need to set orientation 
first to make it behave properly etc.) 
It feels like this plugin needed general cleanup and both PR's are doing that.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to