[web-bluetooth] requestLEscan not working (#590)

arigus has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

==  requestLEscan not working ==

scanning ble beacon via requestLEscan on chrome not working anymore. checked official samples. I have an older version of chrome tested it works.

https://googlechrome.github.io/samples/web-bluetooth/scan.html

this sample not working.

with a breakpoint on inspect then step out then ask about allow of listed ble devices, the pressed allow. and works on. but without these steps requestLEScan just hangs. Does any dev encounter this problem?

Most probably: Bluetooth scanning permission prompt automatically closes itself because it makes the page lose focus

Thanks


Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/590 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 28 June 2022 02:40:26 UTC