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
Default to mobile app promotion
Lyubo Marinov743d12e32607
diff --git a/interface_config.js b/interface_config.jsindex 519b8f6e30..24cd76a422 100644--- a/interface_config.js+++ b/interface_config.js@@ -73,6 +73,13 @@ var interfaceConfig = { // eslint-disable-line no-unused-varsREMOTE_THUMBNAIL_RATIO: 1, //1:1// Documentation reference for the live streaming feature.LIVE_STREAMING_HELP_LINK: "https://jitsi.org/live",- // Enabling mobile landing page with the link to mobile app.- MOBILE_APP_ENABLED: true++ /**+ * Whether the mobile app Jitsi Meet is to be promoted to participants+ * attempting to join a conference in a mobile Web browser. If undefined,+ * default to true.+ *+ * @type {boolean}+ */+ MOBILE_APP_PROMO: true};diff --git a/react/features/base/util/interceptComponent.js b/react/features/base/util/interceptComponent.jsindex 3994dd6c9f..860556eefa 100644--- a/react/features/base/util/interceptComponent.js+++ b/react/features/base/util/interceptComponent.js@@ -37,8 +37,12 @@ const _RULES = [const OS = Platform.OS;if (OS === 'android' || OS === 'ios') {+ const mobileAppPromo+ = typeof interfaceConfig === 'object'+ && interfaceConfig.MOBILE_APP_PROMO;+return (- interfaceConfig.MOBILE_APP_ENABLED+ typeof mobileAppPromo === 'undefined' || Boolean(mobileAppPromo)? UnsupportedMobileBrowser: NoMobileApp);}