apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

The screen-orientation plugin does not work properly on iOS16 #1304

Closed gee1k closed 1 year ago

gee1k commented 1 year ago

cordova-plugin-screen-orientation

The screen.orientation object is mounted under window to control the rotation of the device. Everything works fine under iOS14, but when I run it under iOS16, I don't get any compilation errors. screen.orientation object is empty, no properties or methods are available

Does anyone know what the problem is?

gee1k commented 1 year ago

I don't know if it's a cordova problem or a plugin problem

jcesarmobile commented 1 year ago

It’s probably a plugin problem, there are several issues reported in the plugin repository https://github.com/apache/cordova-plugin-screen-orientation/issues