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

BUG IN CLIENT OF UIKIT: Setting UIDevice.orientation is not supported. Please use UIWindowScene.requestGeometryUpdate(_:)

Open Fukushiro opened this issue 11 months ago • 5 comments

image when i run on ios keeps returning this error, and in devices crashes

Fukushiro avatar Mar 01 '24 21:03 Fukushiro

Any update on this issue ?

sureshqplay avatar Apr 05 '24 04:04 sureshqplay

i am also getting this issue in just IOS

Jigaricode avatar Apr 24 '24 10:04 Jigaricode

updated to 1.7.0 and still face this error

zhenguet avatar May 03 '24 10:05 zhenguet

i am also getting this issue in just IOS 17.x

edicon avatar May 07 '24 03:05 edicon

In my case, rn-tooltip was causing the actual crash. I removed it and that fixed things.

Crashing error message:

*** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [RCTModalHostViewController shouldAutorotate] is returning YES'

controtie avatar Jul 19 '24 03:07 controtie