What do I need then? Is there a way to include these permissions in manifest file automatically? The ask for permission method provided by screen does absolutely nothing to the manifest file.
P.S. I am using pixel 4a running android 13
Try dragging this extension additionally into Screen1 and also requesting the permission with the AskForPermission block. There are no blocks in this extension, just drag it into the Viewer.
You manually insert a text block with "BLUETOOTH_SCAN" (without quotes) into the socket. However, you still need to keep the extension I made in the previous post in Screen1.
Thanks Gordon as you pointed, I did the same and yes! I got the scan permission in the manifest file. I need to probably write "android.permission.BLUETOOTH_SCAN"
Can you provide another extension for "BLUETOOTH_CONNECT" permission as well. Sorry for asking too much help but I am not familiar with how to make .aix file.
@ewpatton@Anke Thank you for all the help, you are right. As soon as I added BLE client extension to my app, all the permissions were added. I hope the Bluetooth LE itself can do the same thing as I am not using any procedure from Bluetooth client extension (not directly at least) and only utilizing Bluetooth LE extension.
Sure, but depending on how the BLE extension is being used either one or both might be needed. In the update I am working on to the BLE extension, the SCAN permission will be included if StartScanning is called and CONNECT will be included if any of the Connect methods are called, so in theory the system should be slightly more intelligent about it than just blanket adding all of the Bluetooth permissions.