The `BeforeInstallPromptEvent` is fired at the `Window.onbeforeinstallprompt` handler before a user is prompted to "install" a web site to a home screen on mobile. It is specified in https://w3c.github.io/manifest/#beforeinstallpromptevent-interface.
Having a _controllable_ and _predictable_ install prompt on both iOS and Android is one of the top-requested features by many of Google's partners.
Please prioritize this issue. Getting PWA consistently across all devices is very important to us as web developers. Thank you
We don't have an install prompt in Safari, either automatic or site-initiated. Unless that changes, supporting the event in WebKit wouldn't do anything because it would never fire.
(In reply to Maciej Stachowiak from comment #2)
> We don't have an install prompt in Safari, either automatic or
> site-initiated. Unless that changes, supporting the event in WebKit wouldn't
> do anything because it would never fire.
I think it's safe to assume that Thomas is requesting the creation of an Install Prompt (that also comes with support for the BeforeInstallPromptEvent). That is certainly what I want.
The current process of adding a PWA to the homescreen on iOS is very unintuitive. It's so unintuitive that users currently have to be guided through the process with popups and diagrams. Currently, a site might need to do something like this....
site: "Would you like to install this app?"
user: "Sure, how do I do that?"
site: "OK, well I'm going to assume you're in Safari and not some 3rd party browser. Start by clicking on the Share button at the bottom of the screen."
user: "I can't see a Share button"
site: "It's probably hidden. Scroll back up a little bit to reveal the buttons, then click the Share button."
user: "OK, got it"
site: "Now click the 'Add to homescreen' button"
user: "I can't see that button"
site: "OK, you might have to scroll horizontally on the bottom row of icons to find it"
user: "OK, found it"
site: "Great, now just click 'Add' in the top right hand corner, and you're done"
user: "Done. You're lucky I love your app because that was really annoying."
I think users (and developers) would appreciate a more streamlined install process. An install prompt that could add to homescreen with a single click would remove a lot of the pain described above. It would also remove a lot of confusion that can occur if a site shows the above install instructions when the user is not actually in Safari, but is in a different iOS browser.
We use this feature on Chrome and Android to let the user install our PWA, Chavah Messianic Radio.
It works great!...on Android.
Sadly, there is no support for this on iOS, leaving our iOS users as 2nd class citizens.
Making it easy for users to install my app on iOS is key to first-class PWA support. Apple needs not lag behind Google here, but should be leading the way to make iOS the best platform for mobile for users.
Mass move bugs into the DOM component.
I would love to have install banner support in WebKit on iOS. You can use https://tix.tax as a test case for this. It already works in Chrome on android and on Chrome desktop in the Canary channel or with the chrome://flags/#enable-desktop-pwas flag enabled.
I should add that the install button appears in the main menu after closing the main menu and opening it back up again.
Would be fantastic provide similar behaviour prompt to install to users in a similar way we have in Chrome. This means that more savings in storage, more opportunities for developers and better experience for users
Probably the most wanted feature for PWAs on iOS.
Will increase conversions significantly and make PWAs on iOS a truly viable option
Really need this feature on iOS. Would take PWAs to the mainstream.
+1 to this. Having no install prompt for PWAs on iOS makes it very complicated for users.
+1 here too. Thanks for hearing us :)
+1 This would be a great help in making PWA's a viable option
+1 Would really love to see this ASAP on iOS devices so that we can create truly platform-independent web applications with excellent user experience
+1 Would be great to have this
+1 It will be fantastic to have this.
+1 It would be great to have this feature!
+1 It would be great to have this!
comment #3 sums it up real well. The current process is way too cumbersome.
As a workaround we show a dialog on iOS with step by step instructions including a help-video to show users where to click. Even though this helps and gets some more users to install the PWA, it is not a good user experience. Users just want to click once (okay maybe twice), install and use the app, that's it.
I think this is one of the last big issues blocking PWA's from really taking off.
+1 Apple bros, I need this. Pls add. You don't need to lag behind Chrome.
Please add an install prompt in Safari. May web apps will greatly benefit from this.
I am urgently in need of this feature as well as push notifications. Can't wait!
+1 This is a much needed feature in Safari.
+1 We desperately need this feature.
So lame that google chrome has this for almost three years and you guys are focus in change the iphone color.
If i change this comment to spacial dark silver can you guys finally be able to deliver it?