{
  "slug": "install-prompt",
  "name": "Install Prompt (beforeinstallprompt)",
  "category": "Installation",
  "summary": "Programmatic control over the PWA install prompt via the beforeinstallprompt event.",
  "name_zh": "安装提示（beforeinstallprompt）",
  "summary_zh": "通过 beforeinstallprompt 事件以编程方式控制 PWA 安装提示。",
  "spec_url": "https://wicg.github.io/manifest-incubations/",
  "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent",
  "confidence": "medium",
  "verified_at": "2026-06-24",
  "support": [
    {
      "target": "Chrome (Android)",
      "os": "Android",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "68",
      "version_full": "68",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Chrome (Desktop)",
      "os": "Desktop",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "73",
      "version_full": "73",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Edge (Desktop)",
      "os": "Desktop",
      "browser": "edge",
      "engine": "blink",
      "status": "yes",
      "version_added": "79",
      "version_full": "79",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Safari (iOS)",
      "os": "iOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No beforeinstallprompt; install is manual via the Share sheet → Add to Home Screen.",
          "text_zh": "没有 beforeinstallprompt；需用户通过分享面板 → 添加到主屏幕手动安装。"
        }
      ],
      "source": "https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Safari (macOS)",
      "os": "macOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "Install is via the File → Add to Dock menu, not the web event.",
          "text_zh": "通过「文件 → 添加到程序坞」菜单安装，而不是网页事件。"
        }
      ],
      "source": "https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Firefox (Desktop)",
      "os": "Desktop",
      "browser": "firefox",
      "engine": "gecko",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No manifest-based desktop install path.",
          "text_zh": "没有基于 manifest 的桌面安装路径。"
        }
      ],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Samsung Internet",
      "os": "Android",
      "browser": "samsung",
      "engine": "blink",
      "status": "yes",
      "version_added": "9.0",
      "version_full": "9.0",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    }
  ],
  "biz_compat": [],
  "generated_by": "OpenPWA compatibility explorer",
  "licence": "CC BY 4.0",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "OpenPWA — https://openpwa.net",
  "attribution_html": "<a href=\"https://openpwa.net\">OpenPWA</a>, <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>"
}