为什么我的manifest.json没有触发“安装Web应用程序”模式?

问题描述 投票:0回答:1

这是清单:https://twoshot.app/manifest.json

{
  "short_name": "TwoShot",
  "name": "TwoShot",
  "icons": [
    {
      "src": "logo.svg",
      "type": "image/svg"
    }
  ],
  "start_url": "/explore",
  "display": "standalone",
  "theme_color": "#ea0417",
  "background_color": "#1c1c1c",
  "scope": "/",
  "orientation": "landscape-primary"
}

当我打开https://twoshot.app时,没有显示安装选项

javascript web progressive-web-apps netlify
1个回答
0
投票

我的网站上有一个类似的 JSON,我可以看到弹出的安装选项。您没有在 JSON 中定义

description
键。您可以尝试添加一个并看看会发生什么吗?

© www.soinside.com 2019 - 2024. All rights reserved.