You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/05 14:37:17 UTC

[GitHub] chiefego commented on issue #34: lock on IOS does not work right after device ready event

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org