Web App Manifest not parsed by Chrome Dev Tools -


i have manifest.json according mdn spec , while works correctly when browsing website mobile device (add homescreen popup shows up, theme color , icons load...etc) chrome dev tools unable parse it. same problem persists on lighthouse (chrome extension).

chrome dev tools unable parse manifest.json

has seen similar issue? think json invalid copy-pasting web app validator marked correct, when inputting url giving parse error:

file isn't valid json: syntaxerror: unexpected token in json @ position 0

it bom character issue in manifest.json file.

if have notepad++ on machine, try open file, click menu "encoding" -> "encode in utf8 without bom" , save file.

if don't have notepad++, search google "remove bom character" favorite ide/editor.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -