distinctdan commented on 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#issuecomment-554487354
 
 
   I finally got an iOS 13 device and was able to confirm that the browser 
doesn't allow access to the motion events unless you request permission. 
According to what I've read, a webview is supposed to be considered a trusted 
context since the native app already has access to motion data, so this looks 
like a webkit bug. There's already a closely related bug that I'm following 
here: https://bugs.webkit.org/show_bug.cgi?id=203287.
   
   In the meantime, I've forked this plugin and have done some significant 
updates to it. I plan to try to use deviceMotion events, but if I don't have 
permission, then I'll fallback on this plugin instead of having to prompt the 
user.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to