Android SDK 13 , requestAppPermission for BLUETOOTH_SCAN

Hello Everyone,

There is a BUG with native.showPopup( “requestAppPermission”, options ) for 'BLUETOOTH_SCAN".
I am using latest solar2D build. Here is my main.lua & build.settings file:
build.settings (594 Bytes)
main.lua (1.2 KB)

I am getting this error when i open the App:

Can anyone help me with this ?

I don’t have any experience with that code but looking at the documentation and repository I doubt Bluetooth related key is implemented at all. I’m not sure if this can be easily implemented but I can suggest @Scott_Harrison 's Bluetooth plugin before any solution is integrated to the core SDK.

@bgmadclown , We just need to request for critical permission similarly we do for other permissions, like Storage. Error message showing that i didn’t include Bluetooth_Scan permission in build.settings file. BUT i have included it. I am not sure why it’s showing this error.
As Android required this BLUETOOTH_SCAN permission included in Android manifest file before we request it runtime. Thanks to look into it.
I have tried this same code with Native Project as well, when i generate a build for device and then check generated Android manifest , i can see all bluetooth permissions are defined in it then also i see this error. So that’s strange!
May be @Scott_Harrison or @vlads can help to fix this issue.

I understand. I just thought those were keys that core SDK doesn’t recognize therefore it is not included in the final build. Like I said, there are no signs of Bluetooth related key values in core SDK and documentation. Either way, it might be a good idea for Scott and Vlad to step in.