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

This way we'll have proper tracebacks now.
This commit is contained in:
Saúl Ibarra Corretgé 2022-01-25 11:01:52 +01:00 committed by Saúl Ibarra Corretgé
parent a7529aca7f
commit 931ef75b4f
2 changed files with 3 additions and 8 deletions

View File

@ -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 };

View File

@ -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';