Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About navigator.bluetooth.requestLEScan() function #584

Open
nex314 opened this issue May 4, 2022 · 3 comments
Open

About navigator.bluetooth.requestLEScan() function #584

nex314 opened this issue May 4, 2022 · 3 comments

Comments

@nex314
Copy link

nex314 commented May 4, 2022

How to implement navigator.bluetooth.requestLEScan() function on Windows Chrome?
The web site has mentions that which can work on Windows 10, but I have no response when I use that function.
https://github.com/WebBluetoothCG/web-bluetooth/blob/main/implementation-status.md

thanks

@reillyeon
Copy link
Contributor

Can you clarify what you mean by "no response"? Check the DevTools console for errors when calling that function. Because it is still experimental you need to enable chrome://flags/#enable-experimental-web-platform-features.

@nex314
Copy link
Author

nex314 commented May 5, 2022

I enable chrome://flags/#enable-experimental-web-platform-features already.
When the web site running on Android Chrome, which will shown permission dialog before start scan, but there is no permission dialog shown on Windows Chrome and DevTools console has no any error message.

@chengweih001
Copy link
Contributor

The issue could be reproduced. Please refer to https://bugs.chromium.org/p/chromium/issues/detail?id=1323134.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants