@maxateyedolon wrote:
Dear all,
window.addEventListener(“deviceorientation”, function (event) {
…does’t seem to work anymore with iOS 13, maybe because of the needed user permission now.
In normal mobile browsers like Safari and so on, getting user permission by callingif (typeof DeviceOrientationEvent.requestPermission === 'function') { DeviceOrientationEvent.requestPermission()
…
is working, though it is not supported with Ionic 5 in iOS App.
Any help is much appreciated!
Thank you!
Posts: 1
Participants: 1