I’ve read tons of articles but just can’t get a popup prompt to install my app as a PWA! I’m not terribly technical so might be misunderstanding where something needs to be pasted in Bubble. I’m sure I’m close but just don’t know where I’ve gone wrong - any help would be greatly appreciated! Thanks!!
I read here that I need the below:
In Chrome, your Progressive Web App must meet the following criteria before it will fire the
beforeinstallprompt event and show the in-browser install promotion:
- The web app is not already installed
- Meets a user engagement heuristic
- Be served over HTTPS
- Includes a Web App Manifest that includes:
icons- must include a 192px and a 512px icon
display- must be one of
prefer_related_applicationsmust not be present, or be
- Registers a service worker with a functional
My manifest is valid
I think my sw.js is setup correctly. I had it blank but then read I needed the ‘fetch’ handler in there?
Chrome registers the manifest and sw
And then this Java when the user clicks something to show they’re engaged?