react-native-orientation
react-native-orientation copied to clipboard
No implementation for getSpecificOrientation on Android
There is no implementation on android for the api method getSpecificOrientation(callback)
@enisinanaj When we can expect this fix with the latest npm package ? https://www.npmjs.com/package/react-native-orientation
Don't know. There was a suggested fix I found somewhere online but didn't work for me. In my case I just create an empty method with that signature just so it wouldn't crash.
@enisinanaj I'm not getting orientation changes in Android, even though adding addOrientationListener
,
After adding unlockAllOrientations
on componentDidMount is its showing orientation changes. Is that necessary to add that?
I had to "unlock" the orientations as well