BT: An extension to work with Bluetooth

go to logic section and drag out true or false blocks

1 Like

It works. Thank you so much my friend.

1 Like

Thanks so much for making this extension, it works great but I encountered a small problem on android 12 versions. In these weeks I'm busy with an important project and I notice that every time I try to run the application on android 12/ ...it gives me the following error:

I was told that the error is due to not updating the necessary permissions for those versions of android. in fact the "BLUETOOTH_CONNECTION" permission would be missing in the script ... is it possible to update the extension?

I'll update the extension the later for sure. But now you can do it with any zip software.
Open aix as zip file and go to com.sunny.bt/files dir. You'll find component_build_infos.json file. Open that and add required permission.

Note that the BLUETOOTH_CONNECT permission is a runtime permission, so the extension will also need to be updated to ask for the permission in the long run.

1 Like

Yes, I'll update the extension soon.

1 Like

I tried to do as you told me but I figured it didn't work for the reasons explained by ewpatton, however update me as soon as possible on your extension. Thanks for your time and have a nice day :+1:

Only adding permission to aix is not sufficient.
You'll have to ask permission at the runtime too.

1 Like

Bluetooth Toggle not working.
Start Discovery not working.
Please fix thes isue ...

please anyone update the extension to work all function properly on all android version.