Security Exception is raised with Android12

Description
When an app with mobile meeting sdk is launched, the following error is raised with Anroid12.

java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource { uid = 10147, packageName = xxxxx, attributionTag = null, token = android.os.BinderProxy@a3c71e5, 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:108)
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)

Which Android Meeting SDK version?
v5.7.6.1915

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Use Android12 OS.
  2. Just launch the app with Zoom meeting sdk v5.7.6.1915.
  3. See error

Smartphone (please complete the following information):

  • Device: Any
  • OS: Android12

Hi @POLYGLOTS_Lesson, thanks for the post.

We are aware that there are some compatibility issues when running the SDK on API 31. Since we have not yet released official support for this version of Android, fixes for these issues will not be possible. Support for Android 12 will be released in the future, but we do not yet have an exact timeline for this.

In case you weren’t already aware, the best places to stay up-to-date on the latest releases are our release notes page and the #new-releases category. :slightly_smiling_face:

Thanks!

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