Open kalinkochnev opened 4 years ago
I just came here for the same problem.
I can find my PC, TV, even by Samsung Watch but it can't detect a single phone.
I really hope there is a solution for this.
You guys got any solution?
I put up a stack overflow post about this a while ago. I haven't tried this but it seems promising: https://stackoverflow.com/questions/61492642/listing-nearby-phones-with-bluetooth-on-flutter-blue-package/62351551#62351551
So I'm trying to get a list all bluetooth devices (phones specifically) but Flutter doesn't seem to be seeing the phones. I have this method called on a button press just to test what gets output. Here is the code for it
After pressing the button I get this:
Some weird things are happening. I seem to be getting duplicate listings and there seems to be a device with no name. But the phone I enabled discoverability on does not show up. I'm expecting something like this:
Moto G5 found! rssi:##dBm
I also connected directly to the phone and tried to list all connected devices with no luck:
Output:
Does flutter_blue not support scanning for phones? I just started using this so I'm not sure what I'm doing.
Thanks for the help!