Closed xvrh closed 3 years ago
@xvrh good catch I fixed the issue and it should be available in release 2.5.2
Excellent. Thanks 👍
This may have regressed in the latest versions, @remonh87
Yes, I have the error as well (using V5.0.2 of this plugging).
face the same issue here flutter_reactive_ble: ^5.0.2 android 12 pixel 4(real device)
same issue here with android 12 pixel 3a flutter_reactive_ble: ^5.0.3
Same same :')
Describe the bug On Android, I consistently have a failure on the first
scanForDevices
after a Hot Restart.To Reproduce Steps to reproduce the behavior:
This program have a single button to start a bluetooth scan
Scan error Exception: GenericFailure<ScanFailure>(code: ScanFailure.unknown, message: "Scanning parameters are not set")
Expected behavior It would improve developer experience if the library was more resilient to this case.
Smartphone / tablet I can consistently reproduce on this 3 devices: Motorola G5 (Android 8.1.0), Huawei P9 lite (Android 7.0), Nokia android One (Android 9)
Package version: 2.5.0
Peripheral device NA
Additional context This error message has already been reported here: https://github.com/PhilipsHue/flutter_reactive_ble/issues/87 but I don't known if this is the same issue.