#Bluetooth requestDevice never finishes if there are no devices

6 messages · Page 1 of 1 (latest)

marble flint
#

Like in the topic, I tried various things but if i do navigator.bluetooth.requestDevice () and there are not BT devices matching the filter, this funtion simply never finishes nor select-bluetooth-device event ever fires

#

naturally this is a gigantic problem because if user doesnt power his device code will never finish, tried various workarounds but in the end i never managed to fix it

radiant osprey
#

How it supposed to show you something if there is no device connected?

#

if it really stuck then open issue on github

marble flint
#

except for calling it again