You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "richpixel (via GitHub)" <gi...@apache.org> on 2023/06/07 01:15:18 UTC

[GitHub] [cordova-plugin-screen-orientation] richpixel commented on issue #119: iOS 16.4 and 16.5 stops at screen.orientation.lock()

richpixel commented on issue #119:
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/119#issuecomment-1579694778

   Hi-
   I'm also seeing this issue when building my app. Luckily upgrading to 16.5 on devices that already have the app installed does not cause them to fail. If I put the call to screen.orientation.lock() in a try/catch block I get the following exception:
   
   TypeError: window.screen.orientation.lock is not a function. (In 'window.screen.orientation.lock(e)', 'window.screen.orientation.lock' is undefined)
   
   I'm looking into a workaround.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org