chiefego commented on issue #34: lock on IOS does not work right after device ready event URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/34#issuecomment-418754923 Sorry, what I mean is that when the phone's orientation is `portrait` and you call `screen.lock('landscape')` right after `onDeviceReady` the phone orientation is not changed. If you manually rotate the phone then it locks it. However, when making the same call with a 4s timeout the phone will rotate to landscape automatically.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org