Skip to content

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

fix(rn,polyfills) fix Performance polyfill

Saúl Ibarra Corretgé3bf1a1774f7d
diff --git a/react/features/mobile/polyfills/browser.js b/react/features/mobile/polyfills/browser.js
index 948a7f5790..08b6637993 100644
--- a/react/features/mobile/polyfills/browser.js
+++ b/react/features/mobile/polyfills/browser.js
@@ -399,7 +399,8 @@ function _visitNode(node, callback) {
const perf = require('react-native-performance');
- global.performance = perf;
+ global.performance = perf.default;
+ global.performance.now = now;
global.PerformanceObserver = perf.PerformanceObserver;
// CallStats