Closed Rossella-Mascia-Neosyn closed 11 months ago
Describe the bug With this ZTE Blade A51 Android 11 device, API 30 cannot find any device
To Reproduce Steps to reproduce the behavior:
const scan = async (): Promise<void> => { try { await BleClient.initialize(); const isEnable = await checkBluetoothStatus(); if (isEnable) { const device = await BleClient.requestDevice({ scanMode: ScanMode.SCAN_MODE_LOW_POWER, namePrefix: 'TEST', }); await connectBt(true, device); await BleClient.stopLEScan(); console.info('stopped scanning'); } } catch (error) { console.error(error); } };
Expected behavior find a device when I start the scan
Screenshots With logcat i found this error BluetoothLeScanner: could not find callback wrapper
Plugin version:
Smartphone (please complete the following information):
Additional context I also tried to recover scanMode and namePrefix but can’t find any device
Are location services enabled? This can be checked with the isLocationEnabled method.
isLocationEnabled
Enabling geocalization worked but sometimes still not find anything
Describe the bug With this ZTE Blade A51 Android 11 device, API 30 cannot find any device
To Reproduce Steps to reproduce the behavior:
Expected behavior find a device when I start the scan
Screenshots With logcat i found this error BluetoothLeScanner: could not find callback wrapper
Plugin version:
Smartphone (please complete the following information):
Additional context I also tried to recover scanMode and namePrefix but can’t find any device