ark-brighthustle / flutter_zoom_sdk

Zoom SDK from ZOOM ported to flutter as plugin with all necessary features and with Null Safety which is implementation by CodeSyncr
BSD 3-Clause "New" or "Revised" License
39 stars 84 forks source link

Android 12 Support #83

Open moazelsawaf opened 2 years ago

moazelsawaf commented 2 years ago

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)
moazelsawaf commented 2 years ago

@evilrat Any updates here?

ark-brighthustle commented 2 years ago

Working on it...will be realeased by 15 of june

On Thu, Jun 2, 2022, 8:51 PM Moaz El-sawaf @.***> wrote:

@evilrat https://github.com/evilrat Any updates here?

— Reply to this email directly, view it on GitHub https://github.com/evilrat/flutter_zoom_sdk/issues/83#issuecomment-1144990530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAAH4IISIHIOBK6UE5VIK3VNDGNZANCNFSM5VV5QCKQ . You are receiving this because you were mentioned.Message ID: @.***>

moazelsawaf commented 2 years ago

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

moazelsawaf commented 2 years ago

@evilrat Any updates about the new version?

moazelsawaf commented 2 years ago

@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?

moazelsawaf commented 2 years ago

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.

ark-brighthustle commented 2 years ago

@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........