wonday/react-native-orientation-locker

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

Opened this issue · 5 comments

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

Any update on this issue ?

i am also getting this issue in just IOS

updated to 1.7.0 and still face this error

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

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'