Skip to content

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

[RN] Polyfill window.location.search

Saúl Ibarra Corretgéd200abb8db80
diff --git a/react/features/base/lib-jitsi-meet/native/polyfills-browser.js b/react/features/base/lib-jitsi-meet/native/polyfills-browser.js
index c7c35cdb0a..61f9bc3438 100644
--- a/react/features/base/lib-jitsi-meet/native/polyfills-browser.js
+++ b/react/features/base/lib-jitsi-meet/native/polyfills-browser.js
@@ -259,7 +259,11 @@ function _visitNode(node, callback) {
// location
if (typeof global.location === 'undefined') {
global.location = {
- href: ''
+ href: '',
+
+ // Required by:
+ // - lib-jitsi-meet/modules/xmpp/xmpp.js
+ search: ''
};
}