Correct. The flags feature was something added for SDK 31 and needs a newer version of the build tools even for us to compile with it, so I expect many other tools will need to be updated to take it into account.
Save the AndroidManifest.xml file with above changes.
Rebuild the APK file.
NOTE:
How to view the AndroidManifest.xml?
------ Download APK Studio Editor from the link Download APK Editor for PC and Mac – APK Editor Studio
------ Open APK Studio Editor and Open the APK file.
------ Click on the "Open Contents" tab
------ Folder will be opened and "AndroidManifest.xml" file can be seen.
How to Edit AndroidManifest.xml file?
------ Open the AndroidManifest.xml using any of the text editor.
------ Delete the lines related to Bluetooth related permissions.
------ Paste the below lines and save the changes.
Hi Evan,
Part of this release, what's the chance to fix the AdvertismentData block?
This module return null, seems it was never works.
I need it for some IOT class.
Hi Evan, hope your brain is suitably refreshed after your short break
Re my Post#20 in this topic:
To prevent the BLE Device List becoming so large it slows the Smartphone down or crashes the App, we need a new function that filters devices found and only adds them to the BLE Device List if a specific string exists.
it was just for dummy for get permission when first run.
sometimes its asking permission when the just openned first time(without any actions), but sometimes its not asking. so i made button to activate. i don't know actual condition of these differences but i guess its from minimum SDK level or just AI2<->kodular build conditions.
ofc im using as you shown for event to find devices.
the problem and my purpose is to make permission for "BLUETOOTH_ADVERTISE".
You should then place a .Connect block in a way (unobtrusive and separate from your blocks/procedures) that avoids a Connection error / ConnectionFailed.