Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
[RN] Add workaround for loading different URLs on Android
Saúl Ibarra Corretgé84463d8cf02c
diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.javaindex e7cd956f2f..b1b3d5ec2c 100644--- a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java+++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java@@ -142,15 +142,17 @@ public class JitsiMeetView extends FrameLayout {props.putString("url", url.toString());}- if (mReactRootView == null) {- mReactRootView = new ReactRootView(getContext());- mReactRootView.startReactApplication(mReactInstanceManager, "App", props);- mReactRootView.setBackgroundColor(BACKGROUND_COLOR);- addView(mReactRootView);- } else {- // TODO: ReactRootView#setAppProperties is only available on React Native 0.45.- throw new RuntimeException("Not yet supported");+ // TODO: ReactRootView#setAppProperties is only available on React Native 0.45, so destroy+ // the current root view and create a new one.+ if (mReactRootView != null) {+ removeView(mReactRootView);+ mReactRootView = null;}++ mReactRootView = new ReactRootView(getContext());+ mReactRootView.startReactApplication(mReactInstanceManager, "App", props);+ mReactRootView.setBackgroundColor(BACKGROUND_COLOR);+ addView(mReactRootView);}/**