Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(rn) use the TSC generated lib-jitsi-meet bundle

Saúl Ibarra Corretgé931ef75b4ffb
diff --git a/react/features/base/lib-jitsi-meet/_.native.js b/react/features/base/lib-jitsi-meet/_.native.js
index 8fd47814a3..eae90fffc5 100644
--- a/react/features/base/lib-jitsi-meet/_.native.js
+++ b/react/features/base/lib-jitsi-meet/_.native.js
@@ -14,12 +14,6 @@ import './native';
// Re-export JitsiMeetJS from the library lib-jitsi-meet to (the other features
// of) the project jitsi-meet.
//
-// TODO The Web support implemented by the jitsi-meet project explicitly uses
-// the library lib-jitsi-meet as a binary and keeps it out of the application
-// bundle. The mobile support implemented by the jitsi-meet project did not get
-// to keeping the lib-jitsi-meet library out of the application bundle and even
-// used it from source. As an intermediate step, start using the library
-// lib-jitsi-meet as a binary on mobile at the time of this writing. In the
-// future, implement not packaging it in the application bundle.
-import JitsiMeetJS from 'lib-jitsi-meet/lib-jitsi-meet.min';
+
+import JitsiMeetJS from 'lib-jitsi-meet';
export { JitsiMeetJS as default };
diff --git a/react/features/mobile/polyfills/browser.js b/react/features/mobile/polyfills/browser.js
index 04fa9772ea..506869eff5 100644
--- a/react/features/mobile/polyfills/browser.js
+++ b/react/features/mobile/polyfills/browser.js
@@ -2,6 +2,7 @@ import { DOMParser } from '@xmldom/xmldom';
import { Platform } from 'react-native';
import BackgroundTimer from 'react-native-background-timer';
+import 'promise.allsettled/auto'; // Promise.allSettled.
import 'react-native-url-polyfill/auto'; // Complete URL polyfill.
import Storage from './Storage';