AltBeacon / android-beacon-library

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

beacon detected even if the app is in background without background location permission given #1006

Open GjulioJakova opened 3 years ago

GjulioJakova commented 3 years ago

Expected behavior

Background location permission was not given so when I put the app in background I expected beacons won't be detected

Actual behavior

Background location permission not given but when I put the app in background beacons are still detected

Steps to reproduce this behavior

I open the app, gave only foreground permissions. Then I sent the app in background and when I get inside beacon's region I got the notification of beacon's detection.

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.