Skip to content
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

Fixed location permission check for Android 10 #640

Merged
merged 2 commits into from Nov 7, 2019

Conversation

dariuszseweryn
Copy link
Owner

Since Android 10 ‘Manifest.permission.ACCESS_COARSE_LOCATION’ is no longer sufficient to get BLE scan results. ‘Manifest.permission.ACCESS_FINE_LOCATION’ is a must. Adjusted BleScanException.LOCATION_PERMISSION_MISSING javadoc to reflect that.

Closes #637

Since Android 10 ‘Manifest.permission.ACCESS_COARSE_LOCATION’ is no longer sufficient to get BLE scan results. ‘Manifest.permission.ACCESS_FINE_LOCATION’ is a must. Adjusted BleScanException.LOCATION_PERMISSION_MISSING javadoc to reflect that.
@dariuszseweryn dariuszseweryn self-assigned this Nov 7, 2019
@dariuszseweryn dariuszseweryn added bug Bug that is caused by the library and removed enhancement labels Nov 7, 2019
@dariuszseweryn dariuszseweryn changed the title Added proper location permission check for Android 10 Fixed location permission check for Android 10 Nov 7, 2019
@dariuszseweryn dariuszseweryn merged commit 42320f3 into master Nov 7, 2019
@dariuszseweryn dariuszseweryn deleted the feature/android_10_scan branch November 7, 2019 18:10
timc-mediamonks pushed a commit to MediaMonksMobile/RxAndroidBle that referenced this pull request May 12, 2020
Since Android 10 ‘Manifest.permission.ACCESS_COARSE_LOCATION’ is no longer sufficient to get BLE scan results. ‘Manifest.permission.ACCESS_FINE_LOCATION’ is a must. Adjusted BleScanException.LOCATION_PERMISSION_MISSING javadoc to reflect that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that is caused by the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix scan precondition verifier for Android 10
1 participant