So I was using the Bluetooth LE extension from here and one fine day the apps stopped working. The error message was as shown below:
So I unpacked the apk and went through the permissions requested by the app in the manifest file
Sure enough no signs of Bluetooth scan permission. I added scan and connect permissions as below and packed the apk back.
On reinstalling I got new permission option of nearby devices enabling which restored the BLE functionality as it was before!
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