MicrosoftEdge / MSEdgeExplainers

Home for explainer documents originated by the Microsoft Edge team
Creative Commons Attribution 4.0 International
1.3k stars 207 forks source link

[Web Install] What is the behavior of install() for already-installed apps #789

Closed mhochk closed 5 months ago

mhochk commented 5 months ago

I would expect Store sites may want to be able to distinguish between actual installs and install attempts that were actually already there, so what about an additional property on the return object? Something like is_new_install?

amandabaker commented 5 months ago

We used to have more return types, but it was paired down for the sake of privacy. Since no one has mentioned that this is a blocker for them to be able to build a web app store, we could choose to exclude this info for now, but add it later if there's enough feedback. Thoughts @diekus?

diekus commented 5 months ago

100% agree @amandabaker