Need android.permission.BLUETOOTH_CONNECT on Android 12 on SDK 5.12.7.9901

I’m having crash at google devices when I initialize Zoom Meeting SDK.
Android Version: 12
ZOOM SDK Version: 5.12.7.9901
Stack Trace:

2022-11-28 11:28:18.176 30431-30431/com.smth.healthcloud.uat E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.smth.healthcloud.uat, PID: 30431
java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource { uid = 10272, packageName = com.smth.healthcloud.uat, attributionTag = null, token = android.os.BinderProxy@f611665, next = null }: HeadsetService
at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)
at android.os.Parcel.createException(Parcel.java:2409)
at android.os.Parcel.readException(Parcel.java:2392)
at android.os.Parcel.readException(Parcel.java:2334)
at android.bluetooth.IBluetoothHeadset$Stub$Proxy.getConnectedDevicesWithAttribution(IBluetoothHeadset.java:1040)
at android.bluetooth.BluetoothHeadset.getConnectedDevices(BluetoothHeadset.java:549)
at us.zoom.androidlib.util.HeadsetUtil$1.onServiceConnected(HeadsetUtil.java:110)
at android.bluetooth.BluetoothHeadset$3.handleMessage(BluetoothHeadset.java:1422)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

yes, You have to give bluetooth permission in the code. if not, get the user from app.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.