Re: [w3c/manifest] Question: Able to manually call beforeinstallprompt event? (#674)

No, you aren't. It is designed so that the User Agent (browser) sends the event when it is prepared for you to show the prompt, and then you can show the prompt one time after receiving the event.

It is up to the User Agent to fire the event again if it thinks it's appropriate for you to show a prompt a second time. On Chrome on Desktop, we fire the event again after the user cancels the dialog. On Android, we currently don't.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/674#issuecomment-390528201

Received on Monday, 21 May 2018 01:11:41 UTC