Skip to content

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

Adds os and version to react-native userAgent.

damencho6d62e91ff141
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 f161d7ceb5..7dd7bcfd6b 100644
--- a/react/features/base/lib-jitsi-meet/native/polyfills-browser.js
+++ b/react/features/base/lib-jitsi-meet/native/polyfills-browser.js
@@ -2,6 +2,8 @@ import Iterator from 'es6-iterator';
import BackgroundTimer from 'react-native-background-timer';
import 'url-polyfill'; // Polyfill for URL constructor
+import { Platform } from '../../react';
+
import Storage from './Storage';
/**
@@ -323,7 +325,8 @@ function _visitNode(node, callback) {
}
}
- navigator.userAgent = userAgent;
+ navigator.userAgent
+ = `${userAgent} (${Platform.OS} ${Platform.Version})`;
})();
}