DannyMoerkerke/whatpwacando.today

Code to check if app is installed

Closed this issue · 2 comments

Bamuel commented

The webpage is missing source code to check if Install to home screen is done/ and how todo it.
image

The app uses the beforeinstallprompt event, the docs on MDN contain an example:
https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent

Thanks for the link here. It would be nice to have this "Installation" as a Feature with description, demo, source code and doc links as well.