SVG icon in PWA manifest.json – how to set it for all sizes?
“sizes”: “any” https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes
“sizes”: “any” https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes
I had the same problem when I moved my Codesandbox project to local. In my case, there was no manifest.json file in the public folder. I solved it by adding the default manifest.json that create-react-app generates: { “short_name”: “CloseWeUI”, “name”: “The front-end UI for CloseWe”, “icons”: [ { “src”: “favicon.ico”, “sizes”: “64×64 32×32 24×24 16×16”, … Read more
Most probably there is a reference to manifest.json somewhere in the project, while the file/resource itself does not exist. Check to see if you have any link tags with rel=manifest similar to <link rel=”manifest” href=”https://stackoverflow.com/manifest.webmanifest”> The .webmanifest extension is specified in the Media type registration section of the specification, but browsers generally support manifests with … Read more
If you are running in the root of a site, for instance https://example.com/manifest.json or https://test.example.com/manifest.json you can use “start_url”: “https://stackoverflow.com/”. However, this will also map https://example.com/test/manifest.json to https://example.com/, which fails because it’s in a folder outside the scope of the manifest. Instead, if you are using a sub-directory you need to set both a scope … Read more
Please refer to documentation here. It is not a necessary file. You need to use it or you should use it when you are designing a web app that can run offline. Examples are whatsapp web, todoist webapp, amazon webapp, etc. Web app manifests are part of a collection of web technologies called progressive web … Read more