Open jonastg opened 6 years ago
Hm, I think you are using "locked" here in two different meanings - one for this plugin and one for locking the device. You might want to update and clarify that ;) (maybe just add the method calls to the "Steps to reproduce it" list)
Thank you for your feedback! I mean about blocking the screen orientation. I have updated expected behaviour description and added a code example.
The issue describes same bug that jira ticket, it would be great if any of the available PRs that fix the problem is merged.
Feel free to point out the best PR (here) and document how you tested and confirmed its correctness (in the PR comments). Thanks.
Not to hijack the issue, but it's simply not working for me. On app mount
(using Vuetify), I set it to portrait
and lock it. However it simply hangs the initial UI load. If I place it later, say on the "Home Page" after a successful login, the page loads fine, but no locking ever occurs. Please advise.
You just did hijack this issue @humblecoder. Please create a new issue with your problem and we will see if we can help you. (I will hide your comment and this reponse later.)
I've tried the valid PR #31 but it doesn't work as expected. See comment https://github.com/apache/cordova-plugin-screen-orientation/pull/31#issuecomment-455197262.
Any news on this issue ?
@jonastg @janpio @humblecoder @RHinderiks @infil00p - Can You guys once try by installing plugin from here - https://github.com/Anuj-logiciel/cordova-plugin-screen-orientation
I correct the problem like that, https://github.com/ozgeekemen/cordova-plugin-screen-orientation/commit/e53bf7416a7e40f5658e5b50e2ac05476dd07429
Comment line 76 of CDVOrientation.m file It works for me!
Hi guys,
2 1/2 years later and the bug is still present. Is this plugin dead or what needs to be done to get this fixed and a consistent behaviour?
Expected behaviour
The device should keep the current screen orientation — the screen was previously locked — after the screen is unlocked.
Actual behaviour
The screen rotates to the previous orientation when the screen was locked.
Steps to reproduce it
It fails on
It works on
OS versions tested
Code example
Build system
Android
iOS