Re: [w3c/manifest] Allow developers to detect when the user has added the site to their home screen (or equivalent) (#417)

>  Like, why is the platform needed? Won't the platform always just match the platform you are on (e.g., As a user: I'm in Chrome on Android; I see the app banner and install the Android app... I can't install the iOS app, as I'm, you know, on Android!?).

In that case there are two possible platforms: web and android. With the [related_applications](https://w3c.github.io/manifest/#related_applications-member) manifest field web apps can have both related non-web apps (e.g. Android) as well as the web app itself. Both of these could be installed.

The [prefer_related_applications](https://w3c.github.io/manifest/#prefer_related_applications-member) field allows a web app to give a hint about which platform it would prefer to have installed, but UAs are under no obligation to follow that hint.

---
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-202740857

Received on Tuesday, 29 March 2016 06:38:37 UTC