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

App Crash on Android Target SDK 31 #95

Open Manojdaiya1992 opened 1 year ago

Manojdaiya1992 commented 1 year ago

This is my AndroidManifest.xml file under flutter_zoom_sdk/android/src/main

But I still got the error when I run it on android 31 SDK getting the below error. Please help. I also tried with android:exported="true" but got the same error

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. E/AndroidRuntime(13075): 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. E/AndroidRuntime(13075): at android.app.ActivityThread.handleCreateService(ActivityThread.java:4500) E/AndroidRuntime(13075): at android.app.ActivityThread.access$1700(ActivityThread.java:247) E/AndroidRuntime(13075): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2072) E/AndroidRuntime(13075): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime(13075): at android.os.Looper.loopOnce(Looper.java:201) E/AndroidRuntime(13075): at android.os.Looper.loop(Looper.java:288) E/AndroidRuntime(13075): at android.app.ActivityThread.main(ActivityThread.java:7839) E/AndroidRuntime(13075): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(13075): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) E/AndroidRuntime(13075): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) E/AndroidRuntime(13075): Caused by: java.lang.IllegalArgumentException: com.nrichlearning.nrichmobile: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. E/AndroidRuntime(13075): 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. E/AndroidRuntime(13075): at android.app.PendingIntent.checkFlags(PendingIntent.java:375) E/AndroidRuntime(13075): at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:458) E/AndroidRuntime(13075): at android.app.PendingIntent.getActivity(PendingIntent.java:444) E/AndroidRuntime(13075): at android.app.PendingIntent.getActivity(PendingIntent.java:408) E/AndroidRuntime(13075): at us.zoom.sdk.SDKNotificationMgr.showConfNotificationForSDK(SDKNotificationMgr.java:10) E/AndroidRuntime(13075): at com.zipow.videobox.share.ScreenShareServiceForSDK.onCreate(ScreenShareServiceForSDK.java:3) E/AndroidRuntime(13075): at android.app.ActivityThread.handleCreateService(ActivityThread.java:4487)

ark-brighthustle commented 1 year ago

Workin on fix

Manojdaiya1992 commented 1 year ago

Any idea of release

ghost commented 1 year ago

@evilrat ....any updates on the end date?

vishnu-vr commented 1 year ago

@evilrat could you please let us know the status?