[ https://issues.apache.org/jira/browse/CB-11411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile resolved CB-11411. ------------------------------- Resolution: Fixed Yesterday I merged a PR that among another things, it reversed the the landscape values, so this should be fixed. If not, please, report a new issue > screen.orientation in landscape does not use same orientation as > screen.lockOrientation() > ----------------------------------------------------------------------------------------- > > Key: CB-11411 > URL: https://issues.apache.org/jira/browse/CB-11411 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-screen-orientation > Reporter: Jason Vertucio > Assignee: Tony Homer > Priority: Major > > I have some code to lock the screen to the current orientation. I've > implemented as such > {code:javascript} > screen.lockOrientation(screen.orientation); > {code} > but what ends up happening is that it just switches the screen to the > opposite orientation and then locks it in that position. > Tested on iOS 9.3.2, both iPhone 6 and iPhone 6s. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org