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

> Two questions: 1) is this same change going to be required of native apps going forward? If not, why?

Possibly, yes. But it's a different situation - web sites are including third-party code that is violating privacy by using this API. Apps typically don't do that (as often).

And either way, the privacy situation exists on the Web, so it needs to be solved here.

> 2) has anyone considered all the non-WebXR content this will break, like HTML5 games or websites that use orientation to change layout?

Websites shouldn't use the deviceorientation API to change layout. There are better ways to do that.

Yes, some games will be affected. As will things like panoramic photo viewers (not sure if they count as XR).


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

Received on Monday, 4 February 2019 22:00:47 UTC