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

Only fullscreen activities can request orientation

Open Jeijie opened this issue 6 years ago • 2 comments
trafficstars

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

Jeijie avatar Mar 14 '19 03:03 Jeijie

Use a react-native-orientation-locker module with normal support ! :+1:

retyui avatar Mar 14 '19 07:03 retyui

@retyui thanks,it works well.

Jeijie avatar Mar 14 '19 09:03 Jeijie