{
  "slug": "web-push",
  "name": "Web Push",
  "category": "Engagement",
  "summary": "Server-sent push messages delivered via the Push API + service worker, even when the app is closed.",
  "name_zh": "Web Push（网页推送）",
  "summary_zh": "通过 Push API 与 Service Worker 投递服务器推送消息，即使应用已关闭。",
  "spec_url": "https://www.w3.org/TR/push-api/",
  "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Push_API",
  "confidence": "medium",
  "verified_at": "2026-06-24",
  "support": [
    {
      "target": "Chrome (Android)",
      "os": "Android",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "50",
      "version_full": "50",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/Push_API",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Chrome (Desktop)",
      "os": "Desktop",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "50",
      "version_full": "50",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/Push_API",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Edge (Desktop)",
      "os": "Desktop",
      "browser": "edge",
      "engine": "blink",
      "status": "yes",
      "version_added": "17",
      "version_full": "17",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/Push_API",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Safari (iOS)",
      "os": "iOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "partial",
      "version_added": "16.4",
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "Only for home-screen-installed web apps; requires user-gesture permission and Web Push via APNs.",
          "text_zh": "仅限已安装到主屏幕的 Web 应用；需要在用户手势下授权，并通过 APNs 投递 Web Push。"
        }
      ],
      "source": "https://developer.apple.com/documentation/usernotifications/sending-web-push-notifications-in-web-apps-and-browsers",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Safari (macOS)",
      "os": "macOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "yes",
      "version_added": "16",
      "version_full": "16",
      "applicable": true,
      "notes": [],
      "source": "https://developer.apple.com/documentation/usernotifications/sending-web-push-notifications-in-web-apps-and-browsers",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Firefox (Desktop)",
      "os": "Desktop",
      "browser": "firefox",
      "engine": "gecko",
      "status": "yes",
      "version_added": "44",
      "version_full": "44",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/Push_API",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    },
    {
      "target": "Samsung Internet",
      "os": "Android",
      "browser": "samsung",
      "engine": "blink",
      "status": "yes",
      "version_added": "5.0",
      "version_full": "5.0",
      "applicable": true,
      "notes": [],
      "source": "https://developer.mozilla.org/en-US/docs/Web/API/Push_API",
      "verified_at": "2026-06-24",
      "confidence": "medium"
    }
  ],
  "biz_compat": [
    {
      "entity": "Apple Push (APNs)",
      "type": "delivery_policy",
      "status": "partial",
      "context": "iOS",
      "notes": [
        {
          "text": "iOS Web Push requires the user to add the app to the Home Screen first.",
          "text_zh": "iOS 上的 Web Push 要求用户先把应用添加到主屏幕。"
        }
      ],
      "source": "https://developer.apple.com/documentation/usernotifications/sending-web-push-notifications-in-web-apps-and-browsers",
      "sponsored": false
    }
  ],
  "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>"
}