W3C home > Mailing lists > Public > public-device-apis-log@w3.org > October 2016

[sensors] Should we request permission when sensor is not supported by the platform?

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Mon, 31 Oct 2016 11:13:27 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-186258824-1477912405-sysbot+gh@w3.org>
alexshalamov has just created a new issue for 
https://github.com/w3c/sensors:

== Should we request permission when sensor is not supported by the 
platform? ==
It would be nice if specification could provide guideline for the 
order of "get default sensor" and "request permission" steps.

If we request permission first, end user would get notification like 
"page would like to use sensor X" if user grants permission and then 
we figure out that it is not supported by HW, it would be annoying for
 the user / web developer.

If we check whether sensor is supported before the permission request,
 user experience might be better, but then information about platform 
is exposed before permission is granted.

Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/145 using your GitHub account
Received on Monday, 31 October 2016 11:13:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC