Re: [w3c/manifest] Add installation prompt control flow (#417)

It sounds like you're suggesting we have _both_ the global method and the existing beforeinstallprompt event.

So in the reprompt case, you're saying that we would only fire BIP once, but then you could call `navigator.requestInstallPrompt` many times even after the user has cancelled the first one? It just seems like `bipe.prompt()` is going to be redundant, so if we spec both, we might end up essentially speccing something that's deprecated. (i.e., we wouldn't recommend sites use `bipe.prompt`; rather just always use `requestInstallPrompt`.

> except, browser no longer fire this on their own!

We'd still want the browser to fire this event on its own, or otherwise it would be backwards-incompatible with existing sites (which would need to now call requestInstallPrompt in order to trigger the BIP?)

-- 
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/417#issuecomment-262427882

Received on Wednesday, 23 November 2016 03:31:03 UTC