ragcsalo commented on issue #119:
URL:
https://github.com/apache/cordova-plugin-screen-orientation/issues/119#issuecomment-1587859907
Nope, unfortunately the workaround doesn't work on older iOS versions. So we
have to do this:
www/**screenorientation.js**, around **line 98**:
```
if (typeof ScreenOrientation != 'undefined') {
addScreenOrientationApi(ScreenOrientation.prototype);
}
else {
addScreenOrientationApi(screen.orientation);
}
```
This works for me on iOS 16.5 and also 15.7
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]