67
Views
10
Comments
[Bluetooth Serial Plugin] Bluetooth Serial Plugin is not working in Android 12
bluetooth-serial-plugin
Mobile icon
Forge asset by Guillaume Henriques
Application Type
Mobile

Hello All, 
Now I have a problem. When using 「Bluetooth Serial Plugin」, application is running properly with android 11. But in android 12, the following warning message is displayed.

warning message :
android.permission.BLUETOOTH_CONNECT permission for android.content.AttributionSource@94b3054 AdapterService getBonderDevices

When check application in device's setting, there is no permission setting for Bluetooth .
It has only for camera, file and location.

If anyone has a solution for this problem, please let me know about this.

Thanks and Regards,
Zwe Mann

2025-07-28 12-04-15
Vitor Crivano

I had the same issue and after some research I've found a solution:


1 ) I had to install another component called Android Permissions Plugin (https://www.outsystems.com/forge/component-overview/2040/android-permissions-plugin)

2) Still didn't work.. so I had to fork this component to my own github account and add the following permissions: 

  • <uses-permission    android:name="android.permission.BLUETOOTH_CONNECT"  />
  • <uses-permission   android:name="android.permission.BLUETOOTH_SCAN" 

3) I updated the Extensibility Configuration (on Service Studio > Android Permission Plugin > App root)  to my own github forked plugin

4) Publish, update the references and regenerate the app. It works!

PS:
For my project I also had to allow this permission (pasting here just in case)         

<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> 

2020-10-08 19-51-35
João Barata
Staff

Hi Vitor, thank you for reporting this, I'm already working on a new version that should have this problem fixed.

Regards,

2020-09-21 08-42-47
Vincent Koning

Hi João,

Do you have any update around this new version? We are having the same issue and would like to keep using this component instead of building a custom one.

Greetings,

Vincent

UserImage.jpg
Lucas Pijnacker Hordijk

Hi João, 

I am also interested in the new version. Could you give an indication on when this will be available?

Kind regards,

Lucas

2019-03-22 17-55-12
Hugo Menino Aguiar

João, any expectation for a new version? 

2025-02-04 10-17-42
Shreelakshmi N S
Champion

Hello @João Barata , Is there any recent update made that troubleshoot this issue ? It would be great if you could assist please.  :)


Regards,

Shree

UserImage.jpg
Mathias Caboor

Hello,

I'm new to outsystems. I tried the method with android permission plugin, but failed to make it work on android 12 & 13.

for the CAMERA it works, but for each BLUETOOTH permission, I get a "request.permission.success : True", but "hasPermission:false", with no ErrorMessage.

Do you have any idea ?

UserImage.jpg
Kenneth Young Castro

I could not get this working either, any updates on this?

UserImage.jpg
Kevin Werner

This issue really needs to be resolved.

2020-10-08 19-51-35
João Barata
Staff

Hi,

I would like to share that version 4.0.0 of the plugin was just released and it should fix the permissions errors on Android and iOS.

Regards,

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.