# AppRTCBluetoothManager crash

**URL:** <https://community.sendbird.com/t/apprtcbluetoothmanager-crash/3479>\
**Category:** Android\
**Tags:** sendbird-call\
**Created:** [December 6, 2021, 7:50am UTC](https://community.sendbird.com/t/apprtcbluetoothmanager-crash/3479 "2021-12-06T07:50:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Fodor](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/george_fodor/32/1813_2.png) [@George\_Fodor](https://community.sendbird.com/u/George_Fodor)\
**Post date:** [December 6, 2021, 7:50am UTC](https://community.sendbird.com/t/apprtcbluetoothmanager-crash/3479/1 "2021-12-06T07:50:33Z")

</div>

On Android 12 our app crashes whenever a sendbird call is initialized. And it is all related to sendbird. We don’t even use bluetooth throughout the app. Is the BLUETOOTH\_CONNECT permission now a requirement for calls? Do we have to adapt our permission requests to adapt for this or is this a bug?

```auto
Fatal Exception: java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for android.content.AttributionSource@f277b06b: AdapterService getBondedDevices
       at android.os.Parcel.createExceptionOrNull(Parcel.java:2437)
       at android.os.Parcel.createException(Parcel.java:2421)
       at android.os.Parcel.readException(Parcel.java:2404)
       at android.os.Parcel.readException(Parcel.java:2346)
       at android.bluetooth.IBluetooth$Stub$Proxy.getBondedDevices(IBluetooth.java:5111)
       at android.bluetooth.BluetoothAdapter.getBondedDevices(BluetoothAdapter.java:3731)
       at com.sendbird.calls.internal.pc.AppRTCBluetoothManager.logBluetoothAdapterInfo(AppRTCBluetoothManager.kt:299)
       at com.sendbird.calls.internal.pc.AppRTCBluetoothManager.start(AppRTCBluetoothManager.kt:121)
       at com.sendbird.calls.internal.pc.AppRTCAudioManager.start(AppRTCAudioManager.kt:173)
       at com.sendbird.calls.internal.pc.PeerConnectionClient.startAudioManager(PeerConnectionClient.kt:477)
       at com.sendbird.calls.DirectCall$startAudioManager$1.invoke(DirectCall.kt:1545)
       at com.sendbird.calls.DirectCall$startAudioManager$1.invoke(DirectCall.kt:109)
       at com.sendbird.calls.SendBirdCall$runOnUIThread$1.run(SendBirdCall.kt:90)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8582)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:563)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1133)

```

---

<div class="post-metadata">

**Author:** ![Nathan.Park](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nathan.park/32/316_2.png) [@Nathan.Park](https://community.sendbird.com/u/Nathan.Park)\
**Post date:** [December 8, 2021, 12:55am UTC](https://community.sendbird.com/t/apprtcbluetoothmanager-crash/3479/2 "2021-12-08T00:55:56Z")

</div>

Hi @George_Fodor , Thank you for the report. I’ll look into it and try to release hotfix version and guidance.

Regards,  
Nathan

---

<div class="post-metadata">

**Author:** ![Nathan.Park](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nathan.park/32/316_2.png) [@Nathan.Park](https://community.sendbird.com/u/Nathan.Park)\
**Post date:** [December 9, 2021, 2:34pm UTC](https://community.sendbird.com/t/apprtcbluetoothmanager-crash/3479/3 "2021-12-09T14:34:25Z")

</div>

Hi @George_Fodor, we’ve just released calls `1.9.0` version which include the bug fix you reported. Now, SDK will not cause a crash even if the app haven’t acquired `BLUETOOTH_CONNECT` permission.

Please update your SDK version and feel free to reach out to me if you still have problems.

Regards,  
Nathan.
