We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
screen.orientation.lock promise is always rejected with the error NotSupportedError
screen.orientation.lock
NotSupportedError
Promise should be resolved successfully and screenlock occurs
Promise is rejected with NotSupportedError
The version prior to the merging of #66 worked as expected.
It appears this line was inadvertently changed such that it never checks if the orientation is supported, but will always fail instead.
Removing the quotes from 'orientation' should fix this issue
Tested on iOS 13.5.1 iPad Air 2
Master
The text was updated successfully, but these errors were encountered:
I am also experiencing this on an iPad running iOS 13.6 and an Android tablet running Android 7.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report
Problem
screen.orientation.lock
promise is always rejected with the errorNotSupportedError
What is expected to happen?
Promise should be resolved successfully and screenlock occurs
What does actually happen?
Promise is rejected with NotSupportedError
Information
The version prior to the merging of #66 worked as expected.
It appears this line was inadvertently changed such that it never checks if the orientation is supported, but will always fail instead.
Removing the quotes from 'orientation' should fix this issue
Command or Code
Environment, Platform, Device
Tested on iOS 13.5.1 iPad Air 2
Version information
Master
Checklist
The text was updated successfully, but these errors were encountered: