Linux failing bluetooth check from creeps
blakebyrnes opened this issue · comments
Blake Byrnes commented
Invocation Failed error from emulation
const getBluetoothAvailability = () => attempt(() => {
if (
!('bluetooth' in navigator) ||
// @ts-ignore
!navigator.bluetooth ||
// @ts-ignore
!navigator.bluetooth.getAvailability) {
return undefined
}
// @ts-ignore
return navigator.bluetooth.getAvailability()
}, 'bluetoothAvailability failed')