flutter_web_bluetooth icon indicating copy to clipboard operation
flutter_web_bluetooth copied to clipboard

Interaction between Flutter web app and Flutter mobile app

Open redDwarf03 opened this issue 2 years ago • 2 comments

Is it possible to create bidirectional communication between a Flutter web application, using flutter_web_bluetooth lib, running on a desktop browser, and a Flutter mobile application using flutter_blue lib ? thx

redDwarf03 avatar Jun 20 '23 15:06 redDwarf03

The flutter_web_bluetooth library and the web bluetooth it relies on isn't able to create a Bluetooth low energy GATT server. So it isn't able to be findable to the device. And from what I can find out flutter_blue also isn't able to create a GATT server. Though I did find this in the Android documentation. I also found that you can use Bluetooth Peripheral mode on iOS. So it is technically possible (I think) you'll have to find (or create) a library for the mobile side though.

jeroen1602 avatar Jun 20 '23 16:06 jeroen1602

@redDwarf03 checkout my library ble_peripheral to create Gatt server on device and connect with client libraries like flutter_web_bluetooth

rohitsangwan01 avatar Nov 03 '23 15:11 rohitsangwan01