Open panhboth111 opened 1 year ago
I found the same crash just by starting two scans at the same time. The failing assertion is assert(!central.isScanning)
.
This is the same issue described in https://github.com/PhilipsHue/flutter_reactive_ble/issues/221 and https://github.com/PhilipsHue/flutter_reactive_ble/issues/283.
Describe the bug I tried to nest the scanForDevices method inside the statusStream in order to only scan for the devices when the ble status is ready
By doing this, I received the following error: