Skip to content
New issue

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

Bugfix - iOS missing check if deviceOrientation is actually supported #13

Conversation

gladiuscode
Copy link
Owner

This PR implements a missing check in adaptInterfaceTo method.
Currently this method executes an interface orientation value update even when the device orientation is not supported, therefore there is a bug in which we see the interface orientation value getting updated to a wrong value even tho the actual interface is not updating to match it.

@gladiuscode gladiuscode added bug Something isn't working iOS iOS only labels May 26, 2024
@gladiuscode gladiuscode self-assigned this May 26, 2024
@gladiuscode gladiuscode merged commit 0e9c382 into main May 26, 2024
5 checks passed
@gladiuscode gladiuscode deleted the bugfix/ios-interface-orientation-value-on-js-is-updated-even-if-interface-is-not-supported branch May 26, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iOS iOS only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] iOS interface orientation value on js is updated even if interface is not supported
1 participant