AltBeacon / android-beacon-library

Allows Android apps to interact with BLE beacons
Apache License 2.0
2.83k stars 836 forks source link

Xiaomi Android 10 after restarting bluetooth beacons are not detected immediately #1007

Open GjulioJakova opened 3 years ago

GjulioJakova commented 3 years ago

Expected behavior

After restarting bluetooth, beacons would be detected immediately both on Android 10 or below.

Actual behavior

After restarting bluetooth, beacons are not detected immediately (Android 10) while with another phone(Moto x4 Android 9) they are detected immediately.

Steps to reproduce this behavior

Open the app with bluetooth activated, entered beacon's region and the beacon is immediately detected. When I turn off and then turn on bluetooth, on Android 10 seems that it takes 1 minute to detect the beacon

Mobile device model and OS version

Xiaomi A2 Lite Android 10

Android Beacon Library version

2.17

IMPORTANT: This forum is reserved for feature requests or reproducible bugs with the library itself. If you need help with using the library with your project, please open a new question on StackOverflow.com.

FarinaChristian commented 1 year ago

I'm working on an application that has to range beacons and I have the same problem, did you solve it? I even tried the new upgraded version of the method to range beacons (with autoboind) but it seems to be worse.

davidgyoung commented 1 year ago

No progress at all on this, unfortunately. We need a volunteer with an affected device and BLE skills to experiment with low-level behavior of the Xiaomi Bluetooth stack.