Hey all can someone make a add to homescreen plugin??
Are you looking for just the button, or are you looking for a pwa option?
Here’s a pwa example on Android:
…On IOS, it doesn’t support the prompt to the user, but if they add to home screen, it still uses the pwa function.
And on Desktop:
I make mostly mobile apps I’d like to prompt the user to install to home screen at a certain point… say 5 minutes after using the app for the first time
Hey Lantz,
Do you know how to do that on Bubble? I’ve seen the WebDev documentation, and built the manifest and sw,js but where do you paste the Java? text in Bubble?
Thanks!!!
Promoting installation #
To indicate your Progressive Web App is installable, and to provide a custom in-app install flow:
- Listen for the
beforeinstallprompt
event. - Save the
beforeinstallprompt
event, so it can be used to trigger the install flow later. - Alert the user that your PWA is installable, and provide a button or other element to start the in-app installation flow.
Listen for the beforeinstallprompt
event #
If your Progressive Web App meets the required installation criteria, the browser fires a beforeinstallprompt
event. Save a reference to the event, and update your user interface to indicate that the user can install your PWA. This is highlighted below.
let deferredPrompt;window.addEventListener('beforeinstallprompt', (e) => { // Prevent the mini-infobar from appearing on mobile e.preventDefault(); // Stash the event so it can be triggered later. deferredPrompt = e; // Update UI notify the user they can install the PWA showInstallPromotion();});
Thanks so much for that!
It’s quite technical (I’m evidently not ) but will give it a go!
Thanks again!
I might open this service back up in the future, but here is the documentation I wrote for it, if it helps visually…
https://d1technologies-admin.gitbook.io/pwa-creator/getting-started/finalize
Yes! That service would be great and hugely simplify the process
Hi @Iantzgould… can’t wait for you to open the service again
Will you be re-opening this service ? Could really do with this, alternatively if you’d be happy to show me how to do this on a zoom call i’m happy to pay.
Calum
+1 for the service ! Why was it cancelled ?
Hi
Did you ever open up the service again?
This would be really useful. I would pay for that.
Progressier does exactly that and also comes with a solution for making your app work offline, sending push notifications and simplifying the process of installing apps.
Has anyone tried using Progressier?