FIX: Don't display PWA banner when using native app

FIX: Don’t display PWA banner when using native app

diff --git a/app/assets/javascripts/discourse/components/pwa-install-banner.js.es6 b/app/assets/javascripts/discourse/components/pwa-install-banner.js.es6
index c49fc81..458fa3c 100644
--- a/app/assets/javascripts/discourse/components/pwa-install-banner.js.es6
+++ b/app/assets/javascripts/discourse/components/pwa-install-banner.js.es6
@@ -42,11 +42,15 @@ export default Ember.Component.extend({
 
   @computed("deferredInstallPromptEvent", "bannerDismissed")
   showPWAInstallBanner() {
+    const launchedFromDiscourseHub =
+      window.location.search.indexOf("discourse_app=1") !== -1;
+
     return (
       this.capabilities.isAndroid &&
       this.get("currentUser.trust_level") > 0 &&
       this.deferredInstallPromptEvent && // Pass the browser engagement checks
       !window.matchMedia("(display-mode: standalone)").matches && // Not be in the installed PWA already
+      !launchedFromDiscourseHub && // not launched via official app
       !this.bannerDismissed // Have not a previously dismissed install banner
     );
   },

GitHub sha: a3cd73ef