AltBeacon / android-beacon-library

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

OnePlus Detections don't work until app is opened after restarting phone #1034

Open JamieHands1989 opened 3 years ago

JamieHands1989 commented 3 years ago

Expected behavior

Beacons detected once the phone has restarted.

Actual behavior

Beacons are not detected after a phone restart until the app is re-opened. Logs show a scan is taking place, it just doesn't find the beacons until the app is re-opened.

Steps to reproduce this behavior

BootstrapNotifier implementation, restart phone and observe.

Mobile device model and OS version

OnePlus 7T with Android 11

Android Beacon Library version

Version 2+

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.

davidgyoung commented 2 years ago

This is a known issue with OnePlus. Until you unlock the phone the first time after a reboot, bluetooth scans are blocked.