ark-brighthustle/flutter_zoom_sdk

Android 12 Support

Opened this issue · 7 comments

Hello Dear,

I really appreciate all the hard work you done to help the Flutter community with the Zoom integration but I am looking forward to see the update of Zoom SDK version to include the support of Android 12 which is very urgent due to the large number of devices with ( or will be in the very soon ) Android 12.

Starting from Android Meeting SDK v5.9.6, Zoom starts to add support for Android 12, with bug fixes and improvements on each release, so please update the SDK Version to include Android 12 in the support.

You can check all the Android Meeting SDK Versions from here.

Lastly, this is the crash that will occur if you tried to join a meeting from the current SDK ( Used in the package) in Android 12:

java.lang.RuntimeException: 
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4936)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4975)
  at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:54)
  at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2348)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:233)
  at android.os.Looper.loop (Looper.java:344)
  at android.app.ActivityThread.main (ActivityThread.java:8191)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:584)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1034)
Caused by: java.lang.SecurityException: 
  at android.os.Parcel.createExceptionOrNull (Parcel.java:2441)
  at android.os.Parcel.createException (Parcel.java:2425)
  at android.os.Parcel.readException (Parcel.java:2408)
  at android.os.Parcel.readException (Parcel.java:2350)
  at com.android.internal.telecom.ITelecomService$Stub$Proxy.getCallStateUsingPackage (ITelecomService.java:2634)
  at android.telecom.TelecomManager.getCallState (TelecomManager.java:1820)
  at android.telephony.TelephonyManager.getCallState (TelephonyManager.java:5772)
  at com.zipow.videobox.sip.server.y.L (CmmSipAudioMgr.java:7)
  at com.zipow.videobox.sip.server.y.o (CmmSipAudioMgr.java:1)
  at com.zipow.videobox.sip.server.CmmSIPCallManager.j1 (CmmSIPCallManager.java:11)
  at com.zipow.videobox.sip.server.CmmSIPCallManager.g1 (CmmSIPCallManager.java:9)
  at com.zipow.videobox.JoinByURLActivity.a (JoinByURLActivity.java:19)
  at com.zipow.videobox.JoinByURLActivity.b (JoinByURLActivity.java:31)
  at com.zipow.videobox.JoinByURLActivity.onResume (JoinByURLActivity.java:125)
  at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1491)
  at android.app.Activity.performResume (Activity.java:8280)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4926)
Caused by: android.os.RemoteException: 
  at android.app.ContextImpl.enforce (ContextImpl.java:2186)
  at android.app.ContextImpl.enforceCallingOrSelfPermission (ContextImpl.java:2214)
  at android.content.ContextWrapper.enforceCallingOrSelfPermission (ContextWrapper.java:915)
  at com.android.server.telecom.TelecomServiceImpl.canReadPhoneState (TelecomServiceImpl.java:2554)
  at com.android.server.telecom.TelecomServiceImpl.access$300 (TelecomServiceImpl.java:89)

@evilRat
Any updates here?

Great news, I am waiting and so excited for that ❤
Thanks in advance ❤

@evilRat
Any updates about the new version?

@evilRat I have planned an update at 15 of June but it is canceled now and the users are uninstalling the app every day, I have lost thousands of the users, so will you publish a new update or should I move to another way?

A trick to get it work in Android 12 with the current version is to set targetSdkVersion to 30 and compileSdkVersion to 32 in app/build.gradle

Thanks @craigspicer who mentioned this point in this comment in an issue.

@evilRat I have planned an update at 15 of June but it is canceled now and the users are uninstalling the app every day, I have lost thousands of the users, so will you publish a new update or should I move to another way?

yes.....facing some issue.....will soon be releasing update......you can expect it by end of this month........