You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/09 05:35:11 UTC

[GitHub] [cordova-plugin-device-motion] distinctdan opened a new issue #69: Apple has crippled device motion behind permission check - can this plugin be revived?

distinctdan opened a new issue #69: Apple has crippled device motion behind permission check - can this plugin be revived?
URL: https://github.com/apache/cordova-plugin-device-motion/issues/69
 
 
   So as of iOS 13, Apple now requires a website or webview to ask permission before using the device motion API's for security reasons. The permission request launches a popup that the user has to agree to, which has to be done every time the app runs. For my tilt-based game, this is unacceptable. What do you guys think about reviving this plugin? Or, is there some workaround? I've been unable to find a way to permanently enable motion for a webview.
   
   Safari release notes:
   https://developer.apple.com/documentation/safari_release_notes/safari_13_release_notes#3314664
   
   Medium article:
   https://medium.com/flawless-app-stories/how-to-request-device-motion-and-orientation-permission-in-ios-13-74fc9d6cd140
   
   Similar issue in different repo:
   https://github.com/processing/p5.js/issues/4037

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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