OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Issue with 'flutter_blue_plus' library: Unable to scan mobile Bluetooth devices, despite successful scanning of printers and ear pods

  • Thread starter Thread starter Smarpit
  • Start date Start date
S

Smarpit

Guest
I am working on a Flutter project where I'm using the flutter_blue_plus library version 1.32.8 to handle Bluetooth functionality. However, I'm encountering an issue where the library is not scanning mobile Bluetooth devices (such as smartphones and tablets), even though it successfully scans other Bluetooth devices like printers and earpods.

I have implemented the scanning functionality according to the documentation provided by flutter_blue_plus, and it works fine for certain types of Bluetooth peripherals but fails to detect mobile devices. This issue is critical for my project as it requires the ability to connect with various Bluetooth devices, including smartphones.

I have ensured that Bluetooth permissions are correctly set in the AndroidManifest.xml file and that the necessary permissions are requested at runtime in my Flutter application. Despite these precautions, I still cannot detect mobile devices via Bluetooth scanning.

Has anyone encountered a similar issue with flutter_blue_plus or another Flutter Bluetooth library? Any insights or suggestions on how to troubleshoot or resolve this issue would be greatly appreciated.

enter image description here
<p>I am working on a Flutter project where I'm using the <a href="https://pub.dev/packages/flutter_blue_plus" rel="nofollow noreferrer">flutter_blue_plus</a> library version 1.32.8 to handle Bluetooth functionality. However, I'm encountering an issue where the library is not scanning mobile Bluetooth devices (such as smartphones and tablets), even though it successfully scans other Bluetooth devices like printers and earpods.</p>
<p>I have implemented the scanning functionality according to the documentation provided by flutter_blue_plus, and it works fine for certain types of Bluetooth peripherals but fails to detect mobile devices. This issue is critical for my project as it requires the ability to connect with various Bluetooth devices, including smartphones.</p>
<p>I have ensured that Bluetooth permissions are correctly set in the AndroidManifest.xml file and that the necessary permissions are requested at runtime in my Flutter application. Despite these precautions, I still cannot detect mobile devices via Bluetooth scanning.</p>
<p>Has anyone encountered a similar issue with flutter_blue_plus or another Flutter Bluetooth library? Any insights or suggestions on how to troubleshoot or resolve this issue would be greatly appreciated.</p>
<p><a href="https://i.sstatic.net/jttRuEaF.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/jttRuEaF.png" alt="enter image description here" /></a></p>
Continue reading...
 
Top