-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Use classic bluetooth with flutter in android studio #23562
Comments
After asking the same thing on stack overflow: https://stackoverflow.com/questions/53005941/use-classic-bluetooth-on-flutter it seems, that it is not possible to desing application with flutter that use classic bluetooth on iOS. |
Yes on iOS Classic Bluetooth is very limited, you pretty much need to use BLE. On Android you can do either. I don't know of any packages for Classic Bluetooth, but you can write the platform implementations with Platform Channels. |
So... it looks like there a few ble packages in https://pub.dev/flutter/packages?q=ble |
There is this plugin, published in Aug, 19, used for a classic bluetooth serial implementation. Besides, @ViasVegas the link you provided from stack overflow is broken. Could you retreive it please? I intend to write a classical bluetooth app in flutter too. I'd like to know if in 2020 there is any way of developing a flutter app with bluetooth support in android and iOS (not BLE as it does no meet my requirements), and maybe in yout stack post I can find an updated answer to this question. |
Is there any bluetooth classic api for android in flutter? In my app, I just need to get those devices and connect to them (with Android inbuilt bluetooth manager) but I don't want to handle low level stuff. I tried but I was not able to find any package. Basically I would like the app to connect to headphones. So handling many profiles at lower level will be difficult. So is there any api for that? |
is there any one find anything on this ? |
Closing as a duplicate of #53493, which has more discussion. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I am creating an application for Android/Ios on Flutter in Android studio. This application has to get serial data from a classic bluetoth device.
I am new to Flutter. I have found a package:
flutter_blue
that allows to scan and connect to BLE device. I tried it and it only perform BLE scan and doesn't detect classic Bluetooth devices. I'd like to find a similar package for Bluetooth classic.Is there any package on https://pub.dartlang.org/flutter that would allow me to do that ? Or lower level function to scan, connect and get the stream of my device?
The text was updated successfully, but these errors were encountered: