Hi, I am working on location based app. Right now ...
# android
m
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
Well something in your app obviously calls a bluetooth method (
getBondedDevices
). Track that down and you know what’s up.
h
If you didn't use any bluetooth calls, it can be in dependency libraries which you are using in the project.
p
Agree with Harry here, It looks like it could be cos of a dependency in your project
m
Yes, thank you guys for your reply. The sendbird sdk which i am using that required bluetooth permission for android 12.
🙌 2