chipweinberger / flutter_blue_plus

Flutter plugin for connecting and communicationg with Bluetooth Low Energy devices, on Android, iOS, macOS
Other
791 stars 479 forks source link

fix connect method args #716

Closed utamori closed 1 year ago

utamori commented 1 year ago

In the connect method, it's casting to a String, but since what's being passed is a Map, it's throw error

https://github.com/boskokg/flutter_blue_plus/blob/a2d86d0f3038356525d005e0297e2491735b9bd8/lib/src/bluetooth_device.dart#L117

https://github.com/boskokg/flutter_blue_plus/blob/a2d86d0f3038356525d005e0297e2491735b9bd8/android/src/main/java/com/lib/flutter_blue_plus/FlutterBluePlusPlugin.java#L664

chipweinberger commented 1 year ago

already fixed. thanks.