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,storage: fix not using a persistent localStorage
Saúl Ibarra Corretgé062bc13d4fcf
diff --git a/react/features/base/lib-jitsi-meet/native/polyfills-browser.js b/react/features/base/lib-jitsi-meet/native/polyfills-browser.jsindex d47b34c3ba..49b1b0ea3d 100644--- a/react/features/base/lib-jitsi-meet/native/polyfills-browser.js+++ b/react/features/base/lib-jitsi-meet/native/polyfills-browser.js@@ -3,14 +3,6 @@ import '@webcomponents/url'; // Polyfill for URL constructorimport { Platform } from '../../react';-// XXX The library lib-jitsi-meet utilizes window.localStorage at the time of-// this writing and, consequently, the browser-related polyfills implemented-// here by the feature base/lib-jitsi-meet for the purposes of the library-// lib-jitsi-meet are incomplete without the Web Storage API! Should the library-// lib-jitsi-meet (and its dependencies) stop utilizing window.localStorage,-// the following import may be removed:-import '../../storage';-/*** Gets the first common prototype of two specified Objects (treating the* objects themselves as prototypes as well).diff --git a/react/index.native.js b/react/index.native.jsindex dec856ac36..2ac15f0138 100644--- a/react/index.native.js+++ b/react/index.native.js@@ -10,6 +10,9 @@// collect the polyfills' files.import './features/base/lib-jitsi-meet/native/polyfills-bundler';+// Polyfill localStorage early so any library that requires it sees it available.+import './features/base/storage/native/polyfills-browser';+import React, { PureComponent } from 'react';import { AppRegistry } from 'react-native';