dotintent / FlutterBleLib

Bluetooth Low Energy library for Flutter with support for simulating peripherals
Apache License 2.0
540 stars 199 forks source link

Support for AndroidX. #396

Closed mikolak closed 4 years ago

KevinRohn commented 4 years ago

Is AndroidX already supported?

mikolak commented 4 years ago

@KevinRohn Jetifier should handle it for now. We haven't yet swapped Support for AndroidX in the library.

KevinRohn commented 4 years ago

@mikolak What does this exactly mean? I've built the example project and run it on my Huawei Mate 20 Pro with AndroidX - There is the same issue like on all other current Flutter BLE packages, that the scan result always seems to be empty. For iOS and < AndroidX it works fine

mikolak commented 4 years ago

I'm not sure if your issue connected to AndroidX, especially since we only use Not Null annotations in the library code IIRC. Are you granting location permission to the example? Can you set log level to verbose and check the logs after scanning for peripherals?