Closed samnbd closed 11 months ago
The auto connect issue on iOS is not working because of the (mtu == null) || !autoConnect': mtu and auto connect are incompatible
and it only happens when I run the app in debug mode on iOS. But when running the app in release mode auto connect works correctly and the mtu
error is not thrown
fixed 1.31.4
Fix confirmed...Thanks
Requirements
Have you checked this problem on the example app?
Yes
FlutterBluePlus Version
1.31.3
Flutter Version
3.7.11
What OS?
iOS
OS Version
17.2.1
Bluetooth Module
Pavlok device
What is your problem?
When pairing the device with
device.connect(autoConnect: true, mtu: null)
, it connects the device and when I move the device out of range it disconnects and re-connects as expected when it comes in range on Android. But on iOS, it doesn't re-connect when it comes back in range. and I have to re-connect it manually. Notice int the logs that the error (mtu == null) || !autoConnect': mtu and auto connect are incompatible is being thrown even though, I've set the mtu: null in the connect function.The auto connect issue on iOS is not working because of the
(mtu == null) || !autoConnect': mtu and auto connect are incompatible
and it only happens when I run the app in debug mode on iOS. But when running the app in release mode auto connect works correctly and themtu
error is not thrownLogs