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

Fix for Android 10 location permission #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Wookie1
Copy link

@Wookie1 Wookie1 commented Apr 22, 2021

Android 10 requires fine location permission and access for Bluetooth LE. Changed ACCESS_COARSE_LOCATION to ACCESS_FINE_LOCATION in two files to make this change and to automatically update the Android permissions build hints.

Changed ACCESS_COARSE_LOCATION to ACCESS_FINE_LOCATION
Changed ACCESS_COARSE_LOCATION to ACCESS_FINE_LOCATION
@ns96
Copy link

ns96 commented Nov 30, 2021

Can this fix be merged into the main code soon. I spent hours trying to figure out why my BT scan code wasn't working until I tracked things down to this problem. The current work around I have is to call "LocationManager.getLocationManager().getCurrentLocationSync()" before doing a scan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants