react-native-orientation-locker
react-native-orientation-locker copied to clipboard
A react-native module that can listen on orientation changing of device, get current orientation, lock to preferred orientation.
Is there some limitation about detecting `PORTRAIT-UPSIDEDOWN`? I tested only on the emulator (Nexus 5X API 27) - when I run the app, The PORTRAIT-UPSIDEDOWN is reported as LANDSCAPE-LEFT -...
Right after installing the library, I had a collision between OrientationType declared in the library and the one declared in `node_modules\typescript\lib\lib.dom.d.ts`. Isn't better to rename `OrientationType`?
Your comment is entirely ambiguous it says it gets set at the beginning of the JS lifecycle and it also says it's async, these are 2 contradicting concepts. please clarify.
Is it possible to change orientation but not rerender ui ? Why i need it because have issue in https://github.com/naoufal/react-native-payments/issues/214 so workaround is to move to portrait mode and then...
Hi In Android when you lay your device down flat on a table an orientation change event is fired. This is not problematic per se, but the issue is that...
I created a screen and upon loading I lock it to landscape mode. After that I cannot unlock it, it remains in landscape mode. I can change it to lock...
Hi there, currently i'm added android:screenOrientation:"Portrait" on Android Manifest, and uncheck landscape options on Xcode to only allow portrait mode. But one of my screen need to set into landscape....
I may be using this wrong, but the only way I have gotten RN to re-render when orientation changes is to call `lockToXXX` when the device orientation changes. Here's some...
BUG IN CLIENT OF UIKIT: Setting UIDevice.orientation is not supported. Please use UIWindowScene.requestGeometryUpdate(_:) [Source](https://developer.apple.com/forums/thread/707735) #241 PS: Works on my end now, please update if you have any suggestions.
To run in 31 SDK, need change: https://developer.android.com/about/versions/12/behavior-changes-12#exported