innoveit / react-native-ble-manager

React Native BLE communication module
http://innoveit.github.io/react-native-ble-manager/
Apache License 2.0
2.13k stars 768 forks source link

v11.5.6 beacon scanning issue #1278

Open devirtua opened 1 month ago

devirtua commented 1 month ago

On the v.11.5.6, for the <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" tools:targetApi="s" /> permission, android:usesPermissionFlags="neverForLocation" flag prevents scanner from finding beacons even though adding `

` permission to main project.

Removing android:usesPermissionFlags="neverForLocation" flag solves the problem.

It took me a full day to resolve the issue.

lucaswitch commented 3 weeks ago

Thats not a problem with the library itself but a environment configuration problem. But we'll gonna add that into the docs so nobody suffers with that.