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

Adam Szmyd edited comment on CB-13983 at 5/14/18 5:01 AM:
----------------------------------------------------------

[~wtrocki] thanks. It seems we've made quite similar PR as i've made my own 
when creating this Jira ticker too: 
[https://github.com/apache/cordova-plugin-screen-orientation/pull/31]

Its good as maybe at least one of those will be merged and unlock will be fixed.


was (Author: aszmyd):
Wojciech Trocki thanks. It seems we've made quite similar PR as i've made my 
own when creating this Jira ticker too: 
[https://github.com/apache/cordova-plugin-screen-orientation/pull/31]

Its good as maybe at least one of those will be merged and unlock will be fixed.

> 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