Support » Plugin: Super Progressive Web Apps » Consistent “Add to Homescreen” library

  • ozcoolie

    (@ozcoolie)


    I have a mixture of devices from old to new and was able to get the “install app” prompt (in one way or another) on all but the Surface Pro (2017), my sons desktop running Firefox (v68) browser.

    On the Surface Pro, I had to install Edge Canary (not yet officially released) and, of course, install a different browser on my sons PC as FF doesn’t seem to be interested in supporting PWAs on anything but Android devices atm. But I’m keen to implement a more consistent approach without prompting my users to get a different browser.

    So my question is: can I use a plugin library to implement an “Add to Homescreen” callout without conflicting with Super PWA’s code? The library I’m looking at is https://github.com/docluv/add-to-homescreen as it claims to deal directly with cross-browser implementation.

    Or, do you have a better solution?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • ozcoolie

    (@ozcoolie)

    UPDATE:

    For the above mentioned library to work, a service-worker has to be installed and active. I originally presumed FF for desktop doesn’t support service-workers at all, but this Mozilla demo shows it does https://mdn.github.io/sw-test/.

    It seems Super PWA is failing to register the service-worker on Firefox for desktop (in its shipped state serviceworker is active).

    I can probably figure out a workaround but just thought to mention it. If there’s a better solution available than another library, then I won’t bother trying to figure it out.

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.