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:
- Zoom Developer Changelog for Dev Product Changes: https://marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/
- General Troubleshooting: https://devsupport.zoom.us/hc/en-us
- To Submit a Ticket for Unexpected Video SDK Behavior: https://support.zoom.us/hc/en-us
- For General & Integrations Related Guidance: https://community.zoom.com/
Description
We recently upgrade @zoom/react-native-videosdk to @zoom/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:
- Go to Example app of @zoom/react-native-videosdk1.7.5
- Click on Create
- Enter Display Name, Role Type
- Click Create
- 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