question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`manifest.json` should have the name `manifest.webmanifest`

See original GitHub issue

Is 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:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
rodrigopandinicommented, Jan 3, 2018

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 😃

2reactions
jeffposnickcommented, Jan 2, 2018

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.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found