Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a PWA install button/mechanism #6899

Closed
marcushellberg opened this issue Nov 10, 2019 · 8 comments
Closed

Provide a PWA install button/mechanism #6899

marcushellberg opened this issue Nov 10, 2019 · 8 comments

Comments

@marcushellberg
Copy link
Member

As noted in #5530, the current PWA install-prompt is intrusive.

It would be better if we could help developers create a similar install experience as TaskMob: an install button that triggers the browser install prompt. With this, we could remove the unprompted install popup.

@heruan
Copy link
Member

heruan commented Dec 4, 2019

Any update on this?

@pleku
Copy link
Contributor

pleku commented Dec 13, 2019

@heruan not yet, but I think this, #5530 and #6449 are not huge efforts and should get some attention. I'll get the design progress ongoing.

@heruan
Copy link
Member

heruan commented Dec 18, 2019

Thanks @pleku! Hope to see developments soon.

@jouni
Copy link
Member

jouni commented Jan 27, 2020

If you have a Prime subscription, you can use this: https://vaadin.com/directory/component/vaadin-component-factoryvcf-pwa-install-button

As a side note, the future of the “in-app install button” is currently quite uncertain, as both WebKit/Apple and Firefox/Mozilla are unwilling to implement the beforeinstallprompt event: w3c/manifest#835

@heruan
Copy link
Member

heruan commented Jan 27, 2020

Thanks @jouni! But does this replace the default prompt which appears when using @PWA? That is the one being very intrusive, why just not setting a cookie to not display it again?

@jouni
Copy link
Member

jouni commented Jan 29, 2020

No, the pwa-install-button does not disable the built-in prompt. You can disable that with @PWA(enableInstallPrompt = false).

I added my solution proposal how to quickly improve the built-in prompt: #5530 (comment)

@mrrenealvarenga
Copy link

Any updates on this at the moment?

@pleku
Copy link
Contributor

pleku commented Apr 6, 2020

The HTML API beforeinstallprompt that is a basis for this feature, has been removed from the spec w3c/manifest#835 as Safari and Mozilla will not implement it. This means that the only way to install the app will be by "from UI provided by the browser", not the app/website.

So as this feature would not be supported in all browsers, I don't see how we could add it to the framework. In case someone wants to use it for Chrome (it still works there), they can do so and anyone is free to contribute an add-on to directory for this.

@pleku pleku closed this as completed Apr 6, 2020
@pleku pleku added this to the Abandoned milestone Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants