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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -