W3C home > Mailing lists > Public > public-device-apis-log@w3.org > February 2019

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

From: Dean Jackson via GitHub <sysbot+gh@w3.org>
Date: Mon, 04 Feb 2019 22:00:46 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-460430459-1549317644-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.3.1 : Monday, 4 February 2019 22:00:48 UTC