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

Can't find devices #1273

Open
looooool11111 opened this issue Oct 9, 2024 · 4 comments
Open

Can't find devices #1273

looooool11111 opened this issue Oct 9, 2024 · 4 comments

Comments

@looooool11111
Copy link

Describe the bug
Bluetooth devices cannot be searched on Android 11 devices, but can be used normally on devices larger than Android 11

Screenshots
Screenshots
If applicable, add screenshots to help explain your problem.
AndroidManifest.xml
image

startScan
image

Can't find devices
image

init
image

Smartphone (please complete the following information):

  • OS: [e.g. iOS8.1]:android 11
  • react-native-ble-manager:11.5.5
  • react-native version:0.73.4
@lucaswitch
Copy link
Contributor

Thats actually a problem with runtime permissions on Android. I can confirm that is working as expected on Android 11.

@looooool11111
Copy link
Author

Thats actually a problem with runtime permissions on Android. I can confirm that is working as expected on Android 11.

yeah,I checked the device's permission settings and found that my application has obtained Bluetooth related permissions, but has not requested to use them

@lucaswitch
Copy link
Contributor

Thats actually a problem with runtime permissions on Android. I can confirm that is working as expected on Android 11.

yeah,I checked the device's permission settings and found that my application has obtained Bluetooth related permissions, but has not requested to use them

Did you was able to solve it?

@looooool11111
Copy link
Author

Did you was able to solve it?

not yet

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

2 participants