tomayac’s avatartomayac’s Twitter Archive—№ 14,621

  1. …in reply to @JarSyr
    @JarSyr @ChromiumDev It is possible today to find out from a PWA if it’s corresponding native Android app is installed: web.dev/get-installed-related-apps/.
    1. …in reply to @tomayac
      @JarSyr Oh, “it’s” should be “its”. Where’s the edit button when you need it?
    2. …in reply to @tomayac
      @JarSyr @ChromiumDev If the question is purely about finding out if the PWA is installed (vs. running in a browser tab), then you can check via if (window.matchMedia('(display-mode: standalone)').matches) { // installed }