App crashed when the initialization was done a second time

Hi guys,

I installed the SDK on my app, so in the first place I added the initialize code on my app component like the demo, I created a instant meeting successfully and invited a friend to test it, everything worked like expected until I clicked the end button, the app was reloaded and the initialization was done again and it got stuck so my app showed a blank screen indefinitively, not exception shown. I changed the initialization code to other custom component so when I end the meeting the app realoads and go back to home screen like I expected but if I try to go to this component again I get a exception:


V/<------- ZoomCordovaPlugin ---------->: onZoomSDKLoginResult result =====0
W/cr_AwContents: Application attempted to call on a destroyed WebView
at org.chromium.android_webview.AwContents.a(PG:378)
at org.chromium.android_webview.AwContents.a(PG:707)
at android.webkit.WebView.evaluateJavascript(
at com.getcapacitor.cordova.MockCordovaWebViewImpl$CapacitorEvalBridgeMode$
at com.getcapacitor.cordova.MockCordovaWebViewImpl$CapacitorEvalBridgeMode.onNativeToJsMessageAvailable(
at org.apache.cordova.NativeToJsMessageQueue.enqueueMessage(
at org.apache.cordova.NativeToJsMessageQueue.addPluginResult(
at com.getcapacitor.cordova.MockCordovaWebViewImpl.sendPluginResult(
at org.apache.cordova.CallbackContext.sendPluginResult(
at cordova.plugin.zoom.Zoom.onZoomSDKLoginResult(
at us.zoom.sdk.ZoomSDK.onSDKLoginReturn(
at us.zoom.sdk.ZoomSDK.access$100(
at us.zoom.sdk.ZoomSDK$2.onPTAppEvent(
at com.zipow.videobox.ptapp.PTUI.dispatchPTAppEventImpl(
at com.zipow.videobox.ptapp.PTUI.dispatchPTAppEvent(
at com.zipow.videobox.mainboard.Mainboard.heartBeat4SingleProcessImpl(Native Method)
at com.zipow.videobox.mainboard.Mainboard.heartBeatForSDK(
at com.zipow.videobox.ptapp.PTApp.dispatchIdleMessage(
at com.zipow.videobox.VideoBoxApplication$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(

can anyone help me?

Hi kevin.camplone,

Thanks for using Zoom SDK. If you have successfully initialized the SDK, you do not need to initialize several times. Please try only to initialize the SDK once.


Hi carson! Thanks for your response, i initialize once in my app component, but when i click the end meeting button the app is reloaded so the initialization code is executed again. Its weird.

Hi again,

Let me explain myself again, the initialization code is in my app.component.ts so every time the app is closed or reloaded it got executed. that’s the problem. I don’t know why but when the user end/quit the meeting, the app is reloaded so the app.component.ts is called again.

I fixed it adding this code in

if (!this.mZoomSDK.isInitialized()) {
this.initialize(appKey, appSecret, callbackContext);

I think this ionic sdk should have the method isInitialized()


Hi kevin.camplone,

Thanks for the reply and the info. I was not able to reproduce the second initialization on my end, I only experience the initialization once, however, I totally agree that enhancement you are suggesting. I will forward this info to the engineering team.