React-native-orientation: Only fullscreen activities can request orientation

Created on 14 Mar 2019  路  2Comments  路  Source: yamill/react-native-orientation

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

Most helpful comment

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

All 2 comments

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

@retyui thanks,it works well.

Was this page helpful?
0 / 5 - 0 ratings