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
sdk(react-native-sdk): alpha sort actionTypes
Calin-Teodor38280c358f85
diff --git a/react/features/mobile/react-native-sdk/middleware.js b/react/features/mobile/react-native-sdk/middleware.jsindex c7bbdd3773..f764d9080d 100644--- a/react/features/mobile/react-native-sdk/middleware.js+++ b/react/features/mobile/react-native-sdk/middleware.js@@ -23,17 +23,17 @@ const externalAPIEnabled = isExternalAPIAvailable();const rnSdkHandlers = getAppProp(store, 'rnSdkHandlers');switch (type) {- case READY_TO_CLOSE:- rnSdkHandlers?.onReadyToClose && rnSdkHandlers?.onReadyToClose();- break;case CONFERENCE_JOINED:rnSdkHandlers?.onConferenceJoined && rnSdkHandlers?.onConferenceJoined();break;+ case CONFERENCE_LEFT:+ // Props are torn down at this point, perhaps need to leave this one out+ break;case CONFERENCE_WILL_JOIN:rnSdkHandlers?.onConferenceWillJoin && rnSdkHandlers?.onConferenceWillJoin();break;- case CONFERENCE_LEFT:- // Props are torn down at this point, perhaps need to leave this one out+ case ENTER_PICTURE_IN_PICTURE:+ rnSdkHandlers?.onEnterPictureInPicture && rnSdkHandlers?.onEnterPictureInPicture();break;case PARTICIPANT_JOINED: {const { participant } = action;@@ -42,8 +42,8 @@ const externalAPIEnabled = isExternalAPIAvailable();rnSdkHandlers?.onParticipantJoined && rnSdkHandlers?.onParticipantJoined(participantInfo);break;}- case ENTER_PICTURE_IN_PICTURE:- rnSdkHandlers?.onEnterPictureInPicture && rnSdkHandlers?.onEnterPictureInPicture();+ case READY_TO_CLOSE:+ rnSdkHandlers?.onReadyToClose && rnSdkHandlers?.onReadyToClose();break;}