Hi, I am working on location based app. Right now i am giving the android 12 support. I have done with all location permission related changes. In our app we have integrated sendbird sdk for call. So when i try to call then app is crashing with
java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for android.content.AttributionSource@57f2dd45: AdapterService getBondedDevices
Even though my app does not any requirement for bluetooth related feature. Does anyone know about this exception?
😶 4
p
Paul Weber
01/11/2022, 10:31 AM
Well something in your app obviously calls a bluetooth method (
getBondedDevices
).
Track that down and you know what’s up.
h
Harry
01/12/2022, 5:34 AM
If you didn't use any bluetooth calls, it can be in dependency libraries which you are using in the project.
p
Priya
01/13/2022, 3:51 AM
Agree with Harry here, It looks like it could be cos of a dependency in your project
m
Milan Vadhel
01/13/2022, 4:19 AM
Yes, thank you guys for your reply. The sendbird sdk which i am using that required bluetooth permission for android 12.