pwa-module icon indicating copy to clipboard operation
pwa-module copied to clipboard

How to add a bottom navigation in PWA only?

Open mimbo119 opened this issue 3 years ago • 1 comments

I want to add a back button which will be visible and actionable for pwa only, not the website.

mimbo119 avatar Aug 05 '21 06:08 mimbo119

Take a look on the internet :)

https://petelepage.com/blog/2020/08/measure-understand-how-installed-pwa-users-differ-from-browser-tab-users/

atinux avatar Aug 05 '21 12:08 atinux

const mqStandAlone = '(display-mode: standalone)'
    if (navigator && window) {
      if (navigator.standalone || window.matchMedia(mqStandAlone).matches) {
        this.pwa = true
      }
    }

Thanks

mimbo119 avatar Mar 30 '23 06:03 mimbo119