W3C home > Mailing lists > Public > public-device-apis-log@w3.org > December 2018

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

From: Chris Dumez via GitHub <sysbot+gh@w3.org>
Date: Fri, 14 Dec 2018 14:55:39 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-447348990-1544799338-sysbot+gh@w3.org>
Yes, I discussed it internally a bit and I do not think we are interested in the generic permissions.request().

A few things we could do:
- add a permission request api to this spec
- drop the api altogether but there are some legit use cases so it would be unfortunate.
- maybe require a user gesture when adding the event listener (and then we’d show a prompt). Avoids over prompting and adding any api.

GitHub Notification of comment by cdumez
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-447348990 using your GitHub account
Received on Friday, 14 December 2018 14:55:41 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:56 UTC