I have followed this tutorial without success.
I have kernel 4.18.0-15-generic, xubuntu 18.04.2.
I have bluez version 5.48-0ubuntu3.1 which is more than new enough according to the tutorial.
I am able to interact with bluetooth devices, including low power bluetooth devices, using other applications. But navigator.bluetooth remains undefined.
I am:
- Running bluetoothd with the
-Eoption. - Running google-chrome with the
--enable-web-bluetoothoption. - Running chrome 72.
Still no navigator.bluetooth in JavaScript land.utI am running on a Dell Chromebook 13 - 7310, that's Broadwell hardware, with the mrchromebox firmware to boot xubuntu normally. But as I noted, non-Chrome apps see bluetooth just fine.
Thoughts?
Thanks!
31 Answer
Following the tutorial, when you launch Chrome, you still have to enable the chrome://flags/#enable-experimental-web-platform-features flag before the URL will work. This worked on my plain vanilla Chrome setup on Ubuntu 18.04.
1