- From: Matt Giuca <notifications@github.com>
- Date: Thu, 19 Sep 2019 21:00:10 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 20 September 2019 04:00:32 UTC
Interesting that serviceworker was mandatory! (It certainly wasn't, since [nobody has ever implemented it](https://github.com/w3c/manifest/issues/800).) Yeah I think the right answer is that no field is absolutely mandatory of the manifest. However, many fields are required by certain processors in order to be accepted as a valid app. For example, Google Chrome (according to [this](https://developers.google.com/web/fundamentals/app-install-banners/)) requires (at least) the following in order to show an install banner: - `name` or `short_name` - `icons` - `start_url` - `display` set to something other than `browser` It wouldn't be correct to say these are mandatory in the manifest itself. But they are required by that user agent. I have always wanted us to create a standard definition of a "PWA" so we can standardize across browsers, but in the mean time, each user agent has its own possibly conflicting set of requirements to be installable. If you're writing a validator, you may want to take these into account, but there's a nuance to it beyond just "invalid" / "valid". -- 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/799#issuecomment-533395316
Received on Friday, 20 September 2019 04:00:32 UTC