Chrome does't recognize my manifest.json when I prompt “Add to homescreen” banner

倾然丶 夕夏残阳落幕 提交于 2019-12-12 18:19:10

问题


I want to create a manifest to launch a "Add t homescreen" banner. However, it seems that chrome does't recognize my manifest file to launch the banner.

Here in the application tab in chrome debugger, the fields should be filled with the information from manifest.json

The manifest file is declared correctly, because it points to the right file. Here is the manifest.json:


回答1:


It seems that the Web App Manifest is not being parsed correctly. You can validate it using the Web Manifest Validator.

Did you check this similar question: Web App Manifest not parsed by Chrome Dev Tools



来源:https://stackoverflow.com/questions/43865086/chrome-doest-recognize-my-manifest-json-when-i-prompt-add-to-homescreen-banne

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!