Using latest react native zoom version @zoom/react-native-videosdk1.7.5 is crashing the app when joined call

Before Creating a New Topic:

If you’re experiencing unexpected Video SDK behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:


Description
We recently upgrade @zoom1234/react-native-videosdk to @zoom1234/react-native-videosdk1.7.5 and when playing around the example app provided by zoom itself it crashes on android when joining the call.
Errors
When logging error from android studio we get two errors:
Exception in native call
java.lang.IllegalArgumentException: base64-encoded secret key cannot be null or empty.
at io.jsonwebtoken.lang.Assert.hasText(Assert.java:135)
at io.jsonwebtoken.impl.DefaultJwtBuilder.signWith(DefaultJwtBuilder.java:97)
at com.zaguiini.RNPureJwt.RNPureJwtModule.sign(RNPureJwtModule.java:161)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
at com.facebook.jni.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
at java.lang.Thread.run(Thread.java:920)

Unhandled SoftException
com.facebook.react.bridge.ReactNoCrashSoftException: Cannot get UIManager because the context doesn’t contain an active CatalystInstance.

Which React Native Video SDK version?
Knowing the version can help us to identify your issue faster. [e.g. 1.1.1]

Video SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to Example app of @zoom1234/react-native-videosdk1.7.5
  2. Click on Create
  3. Enter Display Name, Role Type
  4. Click Create
  5. Crash is occured

Screenshots
App crashes

Troubleshooting Routes
The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on Zoom · GitHub).

Smartphone (please complete the following information):

  • Device: Android Emulator-Pixel 4 API
  • OS: Android 12

Additional context
N/A

1 Like

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

Hi @ujjwal.manandhar , sorry for late reply, can you please check if you have filled in the credential in example/config.ts? We observed similar issue caused by not providing with the credentials, and I hope it can help.