[w3c/manifest] [Proposal] Add more than one icon at PWA install (#841)

One of the feature that native apps have, but PWAs haven't at this moment, is adding more than one icon in the launcher and/or home screen pointing to different URLs (within the same host) at install.

I see this as extension to shortcuts — `separate` key (the name of key is draft):

```json
{
  "shortcuts": [
    {
      "name": "Play Later",
      "description": "View the list of podcasts you saved for later",
      "url": "/play-later",
      "icons": [
        {
          "src": "/icons/play-later.svg",
          "type": "image/svg+xml",
          "purpose": "any"
        }
      ]
    },
    {
      "name": "Subscriptions",
      "description": "View the list of podcasts you listen to",
      "url": "/subscriptions?sort=desc",
      "separate": true
    }
  ]
}
```

-- 
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/841

Received on Friday, 10 January 2020 08:56:11 UTC