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 13:08:40 UTC

[GitHub] r4-2017 opened a new issue #37: cordova-plugin-screen-orientation does not work

r4-2017 opened a new issue #37: cordova-plugin-screen-orientation does not work
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/37
 
 
   I need help from someone! I try use the plugin above with code: `function fixpositionscreen(){
   try{
   alert('trying...');
   if (screen.orientation.lock('portrait-primary')) { alert('yes, it was blocked');}
   else {alert('no, it was not blocked....');}
   }
   catch(err){
   alert(err);
   }
   }
   fixpositionscreen();
   
   So, I receive message saying: "yes, it was blocked' but the screen is not locked. Help me.
   PS: SO is Android
   Android Version 5.1
   Cordova/Phonegap version 8.0
   Using phonegap serve command for provider server of application for the device

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