First off; thanks for a great library. Used it on more than one occasion already :)
On our current project i'm running into an issue with the lockToPortrait() etc methods where the behavior is different on iOS and Android. Currently on iOS after locking the device to a certain orientation it also sends a orientation change notification. On Android however it just locks and does not send this event. This can lead to issues if your user turns the device to landscape and then opens the component that locks or unlocks the device.
Our use case:
My current solution (1) is to change the behavior in iOS so that the orientation event after the locking becomes optional. But i think that the default behavior should actually be the same across iOS and Android.
Would you accept a PR that implements this? It would most likely change behavior that is now depended upon by package users so i would understand if you would not like to change this now known exception.
This repo dead , use the fork https://github.com/wonday/react-native-orientation-locker
Most helpful comment
This repo dead , use the fork https://github.com/wonday/react-native-orientation-locker