Open JAICHANGPARK opened 4 years ago
flutter_ble_lib: ^2.3.0
startPeripheralScan method does not work. The value for scanResult is not displayed. Location Permission has been completed.
_scanSubscription = bleManager.startPeripheralScan( ).listen((scanResult) { //Scan one peripheral and stop scanning print(scanResult.peripheral.name); print("Scanned Peripheral ${scanResult.peripheral.name}, RSSI ${scanResult.rssi}"); // bleManager.stopPeripheralScan(); });
Hi!
Can you turn logs to verbose and try again? It is possible that we haven't managed to fix the race condition in delivering the first error in scan, so it fails silently. I assume it's on Android?
Environment
Issue
startPeripheralScan method does not work. The value for scanResult is not displayed. Location Permission has been completed.