Pourquoi le listpicker ne me propose pas les bluetooth


Il ne m'affiche rien alors que dans une ancienne version de l'application il me propose différents bluetooth

Sur mon ancienne version les bluetooth sont affichés

Ask for permissions
Taifun

(Canned Response ABG - Bluetooth non-BLE SCAN Permission Blocks)

The easiest solution, for immediate relief
(from @Barry_Meaker) ...

I had the same issue. The problem is your app does not have permission to see nearby devices. The solution is to give your app permission on your phone (no code changes in your app).

on your phone,

  • goto settings
  • search for your app
  • in App Info for your app select Permissions
  • change Nearby Devices from Not Allowed to Allowed
  • Done

By the way, the very first time you run the app, Android will ask if you want to grant the app this permission. If you say no, or ignore the pop-up, the permission will be set as Denied. Android will not ask again.

A more complex approach, for professional app development:

See Bluetooth liste of devices deosn't work anymore - #7 by Anke
Special note for Xiaomi devices:
I have an error with bluetooth on android 12, Xiaomi Poco X3 NFC - #20 by Patryk_F


Je les déja autorisées sa ne m'affiche rien

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

In addition to what @Taifun has already suggested, and according to my limited knowledge of French language, It seems that it isn't the authorisation to the "appareils à proximité" (nearby connection) that you have to grant, but the Geolocalisation and the BT.
Probably you need to uninstall your app, install it again and, when the operating system raises the pop-up asking for authorisation granting, you have to answer "yes" . If not sufficient, go to app settings and grant the Geolocalisation. :+1:
Meilleures salutations.

EDIT: quelques conseils ici:
https://support.google.com/android/answer/9417604?hl=fr