Deploying PWA

Try it. See what happens

Thanks, I thought of that and it still works fine as a native app.

However, I would prefer not to include something that is not used as it just slows it down the load speed. So this question remains - is the service worker being unnecessarily used in the native package build or not?

I don’t know in all honesty. Would probably not have it for a non-pwa version.

Might be an idea to script it to have that part removed for native builds.

1 Like

Has anyone figured out how to deploy different versions of the index.html depending on the build? How to deploy a different version of index.html for PWA and native Apps