Runtime Error related to android.permission.BLUETOOTH_SCAN

An app that works fine in Android 11 fails when started in a Android 12.

App compiled in Kodular 1.5B.3 uses BLE.

There’s no BLUETOOTH_SCAN permission available in the list.

Anyone knows how to solve this?



Search the App Inventor community for BLE BLUETOOTH_SCAN

1 Like

Check this (especially on Android 12+) and post screenshots before / after scanning & connecting:
BLE_permListDevConnect_allAndroid_K.apk (5.4 MB)

Hi, all!

YES, adding a dummy Bluetooth component, as instructed by Ewpatton (Android permissions - BLE - Android 12 - #32 by ewpatton - MIT App Inventor Help - MIT App Inventor Community) the problem is (for while?) solved.

Thanks, @Taifun , for your reply.

No, that’s not the solution. The solution is to use the current version of the BLE extension. And this is from February 23, 2023.
(I used this version in my test APK.)

Read this thread completely:

Since I no longer have any rights here, @Taifun or whoever would like to remove the solution marker to avoid misleading.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.