Closed spehj closed 1 year ago
let m know if you figure it out / if there is a bug
seems a common problem: https://github.com/PhilipsHue/flutter_reactive_ble/issues/772
I did some more research and it looks like we'll need to use some other library to scan for iBeacons with iOS devices.
Yes looks like iOS requires using CoreLocation
I've updated the README with this limitation.
FlutterBluePlus Version
1.12.4
Flutter Version
3.10.6
What OS?
iOS
OS Version
15.7.7
Ask your question
I wrote a flutter app to scan for Bluetooth beacons. The Android app works fine, it finds nearby Beacons (I'm testing it with Estimote's iBeacons). But when using iOS, the results are quite different. The
ScanResult
object from Flutter Blue Plus contains different data for the same devices on iOS and Android. Some devices are not even shown on iOS.This is how a SearchResult looks like on Android:
And this is how the SearchResult looks like on iOS:
Here is one way to get only iBeacons from all BLE devices nearby.
I found out that you can't get MAC addresses on iOS, but how about other data like UUIDs, Major, and Minor? Does anyone else work with Flutter Blue or Flutter Blue Plus and iBeacons? I would like to discuss the iOS part.
Logs