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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -