From b428c3bca8c3b50eea4d7ae7aebcd04e861957f3 Mon Sep 17 00:00:00 2001 From: Tudor-Ovidiu Avram Date: Tue, 20 Oct 2020 12:25:38 +0300 Subject: [PATCH] feat(pwa) do not display chrome extension banner for TWA --- .../components/ChromeExtensionBanner.web.js | 1 + 1 file changed, 1 insertion(+) diff --git a/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js b/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js index bae5f0f53..b2b3999eb 100644 --- a/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js +++ b/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.js @@ -152,6 +152,7 @@ class ChromeExtensionBanner extends PureComponent { _isSupportedEnvironment() { return interfaceConfig.SHOW_CHROME_EXTENSION_BANNER && browser.isChrome() + && !browser.isTwa() && !isMobileBrowser() && !this.props.isVpaas; }