Error 902 BLUETOOTH.CONNECT has been denied, please enable it on the settings app

image
I'm using Android 10, I checked all your other apps it didn't quite work.

I didn't really understand the other posts.

Thank you!

i tried if smth or wait nvm

my guess is, you are using Bluetooth Classic and not BLE?

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

These blocks can be dragged into your Blocks Editor to request permission(s) for Bluetooth non-BLE scanning and connecting. All three parts are needed.

You also will need to pull in TinyDB into your project.




Thanks to @Anke for the original code.
My changes include

  • use of the Screen1 permission blocks to avoid the possibility of a typo
  • using a TinyDB tag particular to BT permissions and only for BT permissions.

Special note for Xiaomi devices:

Can I have the .aia for your blocks above? with the 1.0,1\n....

Taifun