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/11/13 14:29:33 UTC

[GitHub] r4-2017 edited a comment on issue #37: cordova-plugin-screen-orientation does not work

r4-2017 edited a comment on issue #37: cordova-plugin-screen-orientation does not work
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/37#issuecomment-438284438
 
 
   janpio... I made a new project with commands only in phonegap, except to add the screen-orientation plugin, because if I put: phonegap plugin add phonegap-plugin-screen-orientation, CLI returns error (I understood that Phonegap itself does not have this plugin to install) then I used: phonegap plugin add cordova-plugin-screen-orientation and it worked, it installed. PS: Even before installing the plugin-screen-orientation, the try ... catch block already worked, saying that the screen was blocked, it did not give an error saying that the screen.orientation lock () function did not exist. Interesting. But both before and after installing the plugin, the same thing remains, it shows that the screen / command was accepted, but the screen lock does not happen and it is still possible to rotate.

----------------------------------------------------------------
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