Quantcast
Channel: Progressive Web App - No Manifest Detected - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Progressive Web App - No Manifest Detected

$
0
0

I am building a Progressive Web App and would like to add a manifest file. I have built one and added a link to it on the home page but I get a message that says, "No manifest detected". Here is what the head looks like in index.html:

<meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="application-name" content="app"><meta name="apple-mobile-web-app-title" content="app"><meta name="theme-color" content="#233b69"><meta name="msapplication-navbutton-color" content="#233b69"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="msapplication-starturl" content="/index.html"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link rel="icon" type="image/png" sizes="192x192" href="assets/img/app.png"><link rel="apple-touch-icon" type="image/png" sizes="192x192" href="assets/img/app.png"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="viewport" content="width=device-width"><meta name="mobile-web-app-capable" content="yes"><link rel="manifest" href="manifest.json">

Here is what the manifest.json file looks like:

{"name": "someApp","short_name": "app","lang": "en-US","start_url": "/index.html","display": "standalone","theme_color": "#233b69","icons": [{"src": "assets/img/app.png","sizes": "192x192","type": "image/png"}  ]}

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images