To be truly multi-platform this library should be extensible to the major operating systems.
Tracking macOS here #463
@robert-ancell I'm interested in getting Linux support so happy to collaborate if thats something you've already started working on?
@maks I did start looking at this. I was trying to connect up bluez.dart to flutter_blue. Since bluez.dart is all written in Dart, this would require flutter_blue to be restructured to use a platform interface like path_provider does. This would mean some plugins can use the platform channels, and others (i.e. Linux in this case) could just use native code. @pauldemarco have you had any thoughts on this?
I've currently shelved that work and am working on the connectivity plugin instead (connecting to NetworkManager). @maks would love to collaborate - feel free to ping me for reviews or help!
We've working on the implementation at https://github.com/allbrightio/flutter_blue/tree/federated_plugin, linux plugin uses internally bluez.dart and the results are quite promising. we'd also like to port windows implementation of the other blue library https://github.com/woodemi/quick_blue to be compatible with flutter_blue.
@gocal Awesome work. What鈥檚 current state? We can push for an experimental release whenever you feel it鈥檚 ready.
@gocal That's great news! I'm guessing you already saw that Robert recently added GATT support in bluez.dart
Also worth to mention that windows can be added via the newly added win32 Bluetooth API
Is anyone currently working on this feature? Any idea on when it might be implemented?
Most helpful comment
We've working on the implementation at https://github.com/allbrightio/flutter_blue/tree/federated_plugin, linux plugin uses internally bluez.dart and the results are quite promising. we'd also like to port windows implementation of the other blue library https://github.com/woodemi/quick_blue to be compatible with flutter_blue.