-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix scan precondition verifier for Android 10 #637
Labels
bug
Bug that is caused by the library
Comments
dariuszseweryn
changed the title
Add scan precondition verifier for Android 10
Fix scan precondition verifier for Android 10
Nov 7, 2019
dariuszseweryn
added
bug
Bug that is caused by the library
and removed
enhancement
labels
Nov 7, 2019
This should probably be mentioned in the |
How would you see it? |
I just would give a heads up to users that they need to request the |
Should be better now |
This was referenced Dec 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
On Android 10 scan needs
ACCESS_FINE_LOCATION
permission.Library version
1.10.3
Preconditions
Android 10 mobile phone to run the test
Steps to reproduce actual result
1. Use an app with
ACCESS_COARSE_LOCATION
2. Try to run a scan
3. Observe result
Actual result
Scan seems to be started correctly but a log is shown:
Expected result
A
BleScanException
is emitted with a desirable error codeLOCATION_PERMISSION_MISSING
orFINE_LOCATION_PERMISSION_MISSING
(TBD)Minimum code snippet reproducing the issue
Logs from the application running with settings:
The text was updated successfully, but these errors were encountered: