`manifest.json` should have the name `manifest.webmanifest`
See original GitHub issueIs this a bug report?
No
Expected Behavior
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">
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Add a web app manifest
The manifest file can have any name, but is commonly named manifest.json and served from the root (your website's top-level directory). The ...
Read more >manifest.json vs manifest.webmanifest - Stack Overflow
There are no big difference rather than naming. Use whichever you prefer: "/manifest.json" or href="/manifest.webmanifest" .
Read more >Web app manifests - MDN Web Docs - Mozilla
Chrome Edge
display Full support. Chrome39. Toggle history Full support. Edge7...
display_override. Experimental Full support. Chrome89. Toggle history Full support. Edge8...
icons Full support. Chrome39. Toggle...
Read more >Web Application Manifest - W3C
This specification defines a JSON-based file format that provides developers with a centralized place to put metadata associated with a web ...
Read more >Use a Web App Manifest to integrate a Progressive Web App ...
The manifest file's content must be valid JSON, but the file can also be named like app_name.webmanifest . If you choose to use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 😃
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.