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

Reply via email to