Re: [deviceorientation] Add API for requesting permission to receive device motion / orientation events (#57)

@richtr we are members of the immersive web working group and are following the progress there closely, but the device motion / orientation APIs are in broad use today and this change affects us acutely.

@othermaciej, while the devicemotion permissions API is under consideration, could the WebKit team help lessen the impact to existing AR pages by allowing access to deviceorientation and devicemotion when a user has explicitly approved camera permissions for the page through getUserMedia()? This is used in 6 Degree-of-Freedom JavaScript libraries that power pages like the Sony Pictures' Spider-Man AR Experience: https://www.intothespiderverse-ar.com/ (currently broken in beta Safari 12.2b). Since the iOS getUserMedia permission is requested on every page load and typically only on high-trust sites, it seems likely to mitigate the fingerprinting concerns and privacy concerns from additional motion information.





-- 
GitHub Notification of comment by erikmchut
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-459913755 using your GitHub account

Received on Saturday, 2 February 2019 00:28:41 UTC