Android 12 SDK v5.7.6.1918

Description
When trying to join a meeting we get a crash.
The following is the stack trace.

     Caused by: java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
    Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
        at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
        at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:458)
        at android.app.PendingIntent.getActivity(PendingIntent.java:444)
        at android.app.PendingIntent.getActivity(PendingIntent.java:408)
        at us.zoom.sdk.SDKNotificationMgr.showConfNotificationForSDK(SDKNotificationMgr.java:10)
        at com.zipow.videobox.share.ScreenShareServiceForSDK.onCreate(ScreenShareServiceForSDK.java:3)
        at android.app.ActivityThread.handleCreateService(ActivityThread.java:4491)
        	... 9 more

As well as : Your build configs for the sdk are out of date.
You should at least update flexbox dependency to dependencies.add("default","com.google.android.flexbox:flexbox:3.0.0")

type or paste code here

Which Android Meeting SDK version?
v5.7.6.1918

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

  1. Update phone to official Android 12 OS
  2. Try to join a zoom meeting
  3. Notice Crash happens.
  4. See error

Smartphone (please complete the following information):

  • Device: [Pixel 3a]
  • OS: [e.g. Android 12]

Additional context
Add any other context about the problem here.

Hi @ozan,

This is a known issue with the SDK related to a breaking change in Android 12 related to PendingIntents being required to explicitly declare mutability. Since the target & compile SDK versions of the SDK are 30, this should be working properly once support is added for API 31.

As well as : Your build configs for the sdk are out of date.
You should at least update flexbox dependency to dependencies.add(“default”,“com.google.android.flexbox:flexbox:3.0.0”)

Unfortunately we are required to use the same dependencies as the Zoom client, so we cannot update dependency versions until the client updates. Do you have any specific concerns around the version of this dependency being used?

Thanks!

Some of your dependencies are like the flexbox are still using Jcenter() which is at EOL. Updating to 3.0.0 for example removes the jcenter() issue.

Hi @ozan,

We are aware of the EOL announcement made a while back for JCenter. Since the repository will remain available as read-only, this should not present any issues until we need to update to a version not previously published on JCenter. At that time, we will of course migrate away from it. :slightly_smiling_face:

Thanks!

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