react-native-ble-manager icon indicating copy to clipboard operation
react-native-ble-manager copied to clipboard

Can't find devices

Open looooool11111 opened this issue 1 year ago • 4 comments

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

looooool11111 avatar Oct 09 '24 02:10 looooool11111

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

lucaswitch avatar Oct 09 '24 18:10 lucaswitch

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

looooool11111 avatar Oct 10 '24 02:10 looooool11111

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?

lucaswitch avatar Oct 10 '24 13:10 lucaswitch

Did you was able to solve it?

not yet

looooool11111 avatar Oct 11 '24 02:10 looooool11111