W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > March 2017

Re: [web-bluetooth] No popup to choose device

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Thu, 16 Mar 2017 05:24:08 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-286961175-1489641847-sysbot+gh@w3.org>
`referringDevice` isn't implemented yet, and when it is, that'll be user-directed scans, not page-directed scans. There will be a [scanning API](https://webbluetoothcg.github.io/web-bluetooth/scanning.html), but again, to communicate with a discovered device will take 2 permission prompts.

Chrome requires the two clicks from `requestDevice()` because it's pretty dangerous for users to grant access to a BT device, and we want to give them as much chance as possible to realize what they're doing. Even this level of concern still worries some people: http://www.tomshardware.com/news/google-web-bluetooth-webusb-apis,33589.html. However, another browser could certainly decide to use a different UI that lets the user select the first matching device with a single click.

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/358#issuecomment-286961175 using your GitHub account
Received on Thursday, 16 March 2017 05:24:15 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 16 March 2017 05:24:15 UTC