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

This way we'll have proper tracebacks now.
pull/10840/head
Saúl Ibarra Corretgé 3 years ago committed by Saúl Ibarra Corretgé
parent a7529aca7f
commit 931ef75b4f
  1. 10
      react/features/base/lib-jitsi-meet/_.native.js
  2. 1
      react/features/mobile/polyfills/browser.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 };

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

Loading…
Cancel
Save