Search code examples
flutterbluetoothbluetooth-lowenergy

Flutter reactive ble or Flutter blue which package is best


Im going to start bluetooth project in flutter, can anyone suggest which package is best for production.

My case is to connect with smartwatches,weightscale,bp devices to get the medical data.

Flutter blue:https://pub.dev/packages/flutter_blue

Flutter reactive ble:https://pub.dev/packages/flutter_reactive_ble


Solution

  • Which ble package that is best is a personal opinion. But I have spent the last four years on making apps that use ble to talk to iOT devices. I have use three different packages:

    • I used flutter_blue in production about 4 years ago. I was not happy with it(I don't remember exactly why). They made breaking changes that included a switch to RxDart so there where no reason to stay with flutter _blue.
    • When I started to develop a new app I selected flutter_ble_lib. The reason for that was that the main developers come from the consultant company Polidea. But Polidea was bought by an other company and they stopped developing packages. So I had to change ble package to be able to keep my app upgraded.
    • I asked google if they had any plans on making a ble package, they said no. But they recommended flutter_reactive_ble. So I have been using flutter_reactive_ble since then. It is Philips Hue that develop it for their smart lamps. The reasons why I prefer flutter_reactive_ble:
      • I think its the more stable choice because of its developed by Philips hue. It is as good as it get when it comes to stability.
      • I use the library to tell iOT devises how to connect to internet. It's the probably what this package is made for.