No
https://w3c.github.io/manifest/
According to documentation, manifest.json should have the name manifest.webmanifest.
So, metatag in header section should be
<link rel="manifest" href="%PUBLIC_URL%/manifest.webmanifest">
the manifest.webmanifest in linked w3c document is used in examples, however I didn't see any suggestions how to name the file.
Since it's in JSON format, IMHO manifest.json is best option
@jeffposnick I see that the spec says webmanifest, but do any browsers require this? I imagine json is probably friendliest from a UX perspective.
There's definitely no requirement as to the URL. Any URL that you pass in as the href for the <link rel="manifest"> is fine.
Using a filename/URL that ends in .json makes the most sense, given that the contents of the HTTP response needs to be valid JSON data.
Cheers @jeffposnick! I think we'll leave this as-is then @rodrigopandini.
The only reason for this issue is because I was running this verification service:
https://sonarwhal.com/docs/user-guide/rules/manifest-file-extension/
But I'm sure that the extension is not important.
Please leave closed :)
Most helpful comment
The only reason for this issue is because I was running this verification service:
https://sonarwhal.com/docs/user-guide/rules/manifest-file-extension/
But I'm sure that the extension is not important.
Please leave closed :)