-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature isLocked #1
Conversation
It should automatically set isLocked to true when devs set either Portrait or Landscape as the only valid orientation for the activity / window. |
38ac58e
to
1c9dccd
Compare
For some reason the iOS builds fails because it launches Codegen even tho the build itself is set for the old architecture. I need to investigate why it does that, maybe by opening an issue in callstack's repository. |
This PR implements a new method called isLocked and available for iOS and Android.
It is a synchronous method that returns the current interface orientation status: locked or unlocked.
The JS side exposes the following 3 APIs to access it: