yamill/react-native-orientation

Only fullscreen activities can request orientation

Jeijie opened this issue ยท 2 comments

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: N/A
Android Studio: Not Found

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: ^0.55.4 => 0.55.4

Use a react-native-orientation-locker module with normal support ! ๐Ÿ‘

@retyui thanks,it works well.