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

README.md - add BLUETOOTH_SCAN permissions for Android platform #5

Open
bobwith2bees opened this issue Feb 8, 2024 · 0 comments
Open

Comments

@bobwith2bees
Copy link

bobwith2bees commented Feb 8, 2024

Running the package I hit this error:

E/CycledLeScannerForLollipop(17080): Cannot start scan. Security Exception: Need android.permission.BLUETOOTH_SCAN permission for android.content.AttributionSource@6be1f2c6: GattService registerScanner

Opening this issue to update the readme to include BLUETOOTH_SCAN if you target Android 12 or higher (SDK 31+)

<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />

See upstream project https://altbeacon.github.io/android-beacon-library/requesting_permission.html

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

No branches or pull requests

1 participant