- From: r4-2017 <notifications@github.com>
- Date: Tue, 13 Nov 2018 04:59:59 -0800
- To: w3c/screen-orientation <screen-orientation@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 13 November 2018 13:00:22 UTC
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
Cordova/Phonegap 8.0
Using phonega serve command for provider server of application
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/issues/123
Received on Tuesday, 13 November 2018 13:00:22 UTC