Android app crashes when the app moves from the background to the foreground

Description

Zoom SDK Integration on React Native:

  • Since the Meeting SDK is not available in ReactNative hence we used bridge to enable it. Link: GitHub - mieszko4/react-native-zoom-us
  • In Android, integration of the Meeting SDK crashes the app. But works fine if we use the Video SDK with this repository and we can also see the default Zoom UI controls, all other functionalities are working fine.

Issue: After joining the zoom meeting through Android app, If we put app in background, it crashes.

Which Android Video SDK version?
v1.5.1

Screenshots
Crash Log:

D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.ttn.idanim, PID: 7011
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x50000010 (has extras) } in us.zoom.androidlib.app.ZmCloseSystemDialogBroadcastReceiver@4ac4993
at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1566)
at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.ttn.idanim/com.zipow.videobox.conference.ui.ZmConfPipActivity}; have you declared this activity in your AndroidManifest.xml?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2065)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1727)
at android.app.Activity.startActivityForResult(Activity.java:5320)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:597)
at android.app.Activity.startActivityForResult(Activity.java:5278)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:583)
at android.app.Activity.startActivity(Activity.java:5664)
at android.app.Activity.startActivity(Activity.java:5617)
at us.zoom.androidlib.utils.ZmActivityUtils.startActivityForeground(ZmActivityUtils.java:108)
at us.zoom.proguard.b.a(ActivityStartHelper.java:5)
at com.zipow.videobox.conference.ui.ZmConfPipActivity.a(ZmConfPipActivity.java:23)
at com.zipow.videobox.conference.helper.a.b(ZmMeetingUIHelper.java:51)
at com.zipow.videobox.conference.ui.ZmBaseConfActivity.onHomePressed(ZmBaseConfActivity.java:3)
at us.zoom.androidlib.app.ZmCloseSystemDialogBroadcastReceiver.onReceive(ZmCloseSystemDialogBroadcastReceiver.java:55)
at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1556)

Smartphone:

  • Device: Android Emulator
  • OS: Android 12

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