Manifest is only recognised for seconds
Unanswered
Bluefake posted this in #help-forum
BluefakeOP
I'm trying to make the primeReact Template which works with nextjs in to a pwa and after the expot i could generate a out folder with a index.html in this folder i generated an servicWorker which works ig but the problem ist the manfiest I genereated is only recognised for seconds in the browser I dont know what elso to do can anyone help?
when i do the lighthousetest it says the link is missing but i have an link
<head>
<meta charSet="utf-8"/>
<link rel="icon" href=/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<meta name="description" content="Web site created using create-react-app"/>
<link rel="manifest" href="/manifest.json"/>
<link rel="apple-touch-icon" href="/logo192.png"/>
<script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script>
</head>
second one disapers after seconds
when i do the lighthousetest it says the link is missing but i have an link
<head>
<meta charSet="utf-8"/>
<link rel="icon" href=/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<meta name="description" content="Web site created using create-react-app"/>
<link rel="manifest" href="/manifest.json"/>
<link rel="apple-touch-icon" href="/logo192.png"/>
<script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script>
</head>
second one disapers after seconds
5 Replies
Toyger
manifest have weird caching policy, try in incognito mode.
also check your output html in browser it can dissapear for some reason from code.
also check your output html in browser it can dissapear for some reason from code.
BluefakeOP
Ok but how can i add it then? How works the incognito mode?
BluefakeOP
i tried but as u can see it appears here but under the first point manifest it wont be recognised
@Bluefake i tried but as u can see it appears here but under the first point manifest it wont be recognised
Toyger
at least start_url look like invalid one, you better put here some domain, try to check your manifest with online validators and maybe they'll provide some feedback
BluefakeOP
well that didn't really changed something i try it with the validatory but still thx for the help appreciate it