Bug Report: "BleError: Device is not authorized to use BluetoothLE"
See original GitHub issuePrerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
Expected Behavior
Please describe the behavior you are expecting
Current Behavior
What is the current behavior?
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- step 1
- step 2
- …
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. Both JS and platform logs can be enabled via setLogLevel function call.
- Library version: X.Y.Z
- Platform: Android/iOS.
- Platform logs (logcat/XCode):
- JS logs:
- Contents of the
package.json
file: - Formatted code sample or link to a repository:
function example(): string {
return "Your code sample"
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Device not authorized to use BluetoothLE · Issue #248 - GitHub
I'm getting an error when I run startDeviceScan on android 8.0.0, react-native ... Bug Report: "BleError: Device is not authorized to use ......
Read more >Unable to use react native Bluetoothel - Stack Overflow
You need to explicitly ask the user for the permission. I had the same problem and I solved it by adding this code...
Read more >RxBLELibraries/react-native-ble - Gitter
I keep getting 'Device is not authorized to use BluetoothLE' on android ... the recent bug report (found here: Polidea/react-native-ble-plx#512) relating to ...
Read more >A brand new website interface for an even better experience!
Bug Report : "BleError: Device is not authorized to use BluetoothLE"
Read more >Top 5 react-native-ble-plx Code Examples - Snyk
Learn more about how to use react-native-ble-plx, ... startDeviceScan(null, null, (bleError, device) => { if (bleError) { observer.error(bleError); ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My issue is that AndroidManifest.xml is asking for ACCESS_FINE_LOCATION but the runtime code that requests user permission was still referencing ACCESS_COARSE_LOCATION - basic error.
Changing to this makes it work:
Check if you have the location permissions turned on for the app… It should work if it is