# Can someone make a "Add to homescreen button"

**URL:** <https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876>\
**Category:** Plugins\
**Created:** [February 1, 2020, 2:54am UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876 "2020-02-01T02:54:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![chad](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chad/32/89415_2.png) [@chad](https://forum.bubble.io/u/chad)\
**Post date:** [February 1, 2020, 2:54am UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/1 "2020-02-01T02:54:13Z")

</div>

Hey all can someone make a add to homescreen plugin??

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [February 1, 2020, 5:59am UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/2 "2020-02-01T05:59:23Z")

</div>

@chad

Are you looking for just the button, or are you looking for a pwa option?

Here’s a pwa example on Android:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/7/1/71c9e4e8567f1b788ea7c15417071d50b8e87b05.png) …

On IOS, it doesn’t support the prompt to the user, but if they add to home screen, it still uses the pwa function.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/0/407780ac0379f9a50bc0d74461340a85d384c580.png)

And on Desktop:

![image](https://us1.discourse-cdn.com/bubble/original/3X/8/2/825465806d0c959625b4d73d0d61a8619f0e64b4.png)

---

<div class="post-metadata">

**Author:** ![chad](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chad/32/89415_2.png) [@chad](https://forum.bubble.io/u/chad)\
**Post date:** [February 1, 2020, 7:53am UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/3 "2020-02-01T07:53:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mccjon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mccjon/32/12720_2.png) [@mccjon](https://forum.bubble.io/u/mccjon)\
**Post date:** [April 12, 2020, 6:18pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/4 "2020-04-12T18:18:01Z")

</div>

Hey Lantz,

Do you know how to do that on Bubble? I’ve seen the [WebDev](https://web.dev/customize-install/) documentation, and built the manifest and sw,js but where do you paste the Java? text in Bubble?

Thanks!!!

## Promoting installation [#](https://web.dev/customize-install/#promote-installation)

To indicate your Progressive Web App is installable, and to provide a custom in-app install flow:

1. Listen for the `beforeinstallprompt` event.
2. Save the `beforeinstallprompt` event, so it can be used to trigger the install flow later.
3. 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 [#](https://web.dev/customize-install/#beforeinstallprompt)

If your Progressive Web App meets the required [installation criteria](https://web.dev/install-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.

```auto
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();});

```

---

<div class="post-metadata">

**Author:** ![mccjon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mccjon/32/12720_2.png) [@mccjon](https://forum.bubble.io/u/mccjon)\
**Post date:** [April 12, 2020, 6:46pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/6 "2020-04-12T18:46:11Z")

</div>

Thanks so much for that!

It’s quite technical (I’m evidently not 🙂 ) but will give it a go!

Thanks again!

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [April 12, 2020, 6:52pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/7 "2020-04-12T18:52:03Z")

</div>

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](https://d1technologies-admin.gitbook.io/pwa-creator/getting-started/finalize)

---

<div class="post-metadata">

**Author:** ![sidv](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sidv/32/61225_2.png) [@sidv](https://forum.bubble.io/u/sidv)\
**Post date:** [May 17, 2020, 8:51pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/8 "2020-05-17T20:51:08Z")

</div>

Yes! That service would be great and hugely simplify the process

---

<div class="post-metadata">

**Author:** ![mwika.eugene](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mwika.eugene](https://forum.bubble.io/u/mwika.eugene)\
**Post date:** [June 18, 2020, 2:39am UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/9 "2020-06-18T02:39:02Z")

</div>

Hi @Iantzgould… can’t wait for you to open the service again

---

<div class="post-metadata">

**Author:** ![calum.work2](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@calum.work2](https://forum.bubble.io/u/calum.work2)\
**Post date:** [September 27, 2020, 2:19pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/10 "2020-09-27T14:19:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lucas.ar](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lucas.ar/32/63393_2.png) [@lucas.ar](https://forum.bubble.io/u/lucas.ar)\
**Post date:** [September 30, 2020, 8:25pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/11 "2020-09-30T20:25:30Z")

</div>

+1 for the service ! Why was it cancelled ?

---

<div class="post-metadata">

**Author:** ![peter11](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/peter11/32/167343_2.png) [@peter11](https://forum.bubble.io/u/peter11)\
**Post date:** [June 25, 2021, 9:38am UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/12 "2021-06-25T09:38:44Z")

</div>

Hi 😃

Did you ever open up the service again?

---

<div class="post-metadata">

**Author:** ![bubble48](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bubble48/32/101639_2.png) [@bubble48](https://forum.bubble.io/u/bubble48)\
**Post date:** [July 24, 2021, 3:16pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/13 "2021-07-24T15:16:55Z")

</div>

This would be really useful. I would pay for that.

---

<div class="post-metadata">

**Author:** ![progressier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/progressier/32/116969_2.png) [@progressier](https://forum.bubble.io/u/progressier)\
**Post date:** [December 21, 2021, 7:50am UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/14 "2021-12-21T07:50:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![caroline2](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@caroline2](https://forum.bubble.io/u/caroline2)\
**Post date:** [December 25, 2021, 8:28pm UTC](https://forum.bubble.io/t/can-someone-make-a-add-to-homescreen-button/77876/15 "2021-12-25T20:28:17Z")

</div>

Has anyone tried using Progressier?
