react-native-orientation icon indicating copy to clipboard operation
react-native-orientation copied to clipboard

Listen to device orientation changes in react-native and set preferred orientation on screen to screen basis.

Results 111 react-native-orientation issues
Sort by recently updated
recently updated
newest added

addSpecificOrientationListener is not fired on Android Platform.

Currently apps won't compile if you want to use `react-native-orientation` in combination with an App Extension. This change, which was introduced to lots of React core libraries, allows the library...

when I call Orientation.lockToLandscape(),App crash on resume. log: Only fullscreen activities can request orientation "react-native-orientation": "^3.1.3", Environment: OS: Windows 7 Node: 8.12.0 Yarn: 1.9.4 npm: 6.4.1 Watchman: Not Found Xcode:...

Hi there, sometime my app cause crash for line `[UIDevice currentDevice] setValue:[NSNumber numberWithInteger: UIInterfaceOrientationLandscapeLeft] forKey:@"orientation"];`. I follow config from document already, but don't know how to resolve this issue.

The `react-native` package has peer dependencies on `react`, which means that `react-native-orientation` also depends on it.

What I am trying to do: To show a view, Based on available width and minor calculation in both landscape and portrait mode. **Code:** ``` const Orientation = require('react-native-orientation'); componentWillMount()...

waiting-feedback

I am using `react-native 0.39.2` and `"react-native-orientation": "^1.17.0"` My code looks like below. I will get `Can't read getInitialOrientation of undefined` error when executing this code. I have run `link`...

to-be-reviewed

rn: 0.55.4 rn-orientation: 3.1.3 Issue: method Orientation.unlockAllOrientations() blocks upside down orientation although it is checked in Xcode settings (General/Deployment Target). It is caused by UIInterfaceOrientationMask used in Orientation.m -> method...