Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interaction between Flutter web app and Flutter mobile app #58

Open
redDwarf03 opened this issue Jun 20, 2023 · 2 comments
Open

Interaction between Flutter web app and Flutter mobile app #58

redDwarf03 opened this issue Jun 20, 2023 · 2 comments

Comments

@redDwarf03
Copy link

redDwarf03 commented Jun 20, 2023

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

@jeroen1602
Copy link
Owner

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.

@rohitsangwan01
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants