{
  "slug": "web-share",
  "name": "Web Share API",
  "category": "Capabilities",
  "summary": "The Web Share API invokes the platform-native share sheet so users can share text, URLs, or files from a PWA. Share Target (receiving shared content via manifest share_target) is scoped separately; its browser-compat-data coverage is not yet tracked in MDN BCD.",
  "name_zh": "Web Share API（网页分享）",
  "summary_zh": "Web Share API 调起平台原生分享面板，让用户从 PWA 分享文本、URL 或文件。Share Target（通过 manifest share_target 接收分享内容）单独立项；MDN BCD 尚未收录它的兼容性数据。",
  "spec_url": "https://www.w3.org/TR/web-share/",
  "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Web_Share_API",
  "confidence": "high",
  "verified_at": "2026-10-03",
  "support": [
    {
      "target": "Chrome (Desktop)",
      "os": "Desktop",
      "browser": "chrome",
      "engine": "blink",
      "status": "partial",
      "version_added": "89",
      "version_full": "128",
      "applicable": true,
      "notes": [
        {
          "text": "Only supported on ChromeOS and Windows, see bug 40542648 (https://crbug.com/40542648) and bug 40729163 (https://crbug.com/40729163).",
          "text_zh": "仅在 ChromeOS 和 Windows 上支持，见 bug 40542648（https://crbug.com/40542648）与 bug 40729163（https://crbug.com/40729163）。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Chrome (Android)",
      "os": "Android",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "61",
      "version_full": "61",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-09-05",
      "confidence": "high"
    },
    {
      "target": "Edge (Desktop)",
      "os": "Desktop",
      "browser": "edge",
      "engine": "blink",
      "status": "partial",
      "version_added": "81",
      "version_full": "93",
      "applicable": true,
      "notes": [
        {
          "text": "Only supported on Windows.",
          "text_zh": "仅在 Windows 上支持。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Firefox (Desktop)",
      "os": "Desktop",
      "browser": "firefox",
      "engine": "gecko",
      "status": "flag",
      "version_added": "71",
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "Behind the `dom.webshare.enabled` preference (set to true).",
          "text_zh": "需开启 `dom.webshare.enabled` 偏好设置（设为 true）。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Firefox (Android)",
      "os": "Android",
      "browser": "firefox",
      "engine": "gecko",
      "status": "yes",
      "version_added": "79",
      "version_full": "79",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Safari (macOS)",
      "os": "macOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "yes",
      "version_added": "12.1",
      "version_full": "12.1",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-09-05",
      "confidence": "high"
    },
    {
      "target": "Safari (iOS)",
      "os": "iOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "yes",
      "version_added": "12.2",
      "version_full": "12.2",
      "applicable": true,
      "notes": [
        {
          "text": "Derived by browser-compat-data mirroring from Safari.",
          "text_zh": "由 browser-compat-data 镜像自 Safari 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Samsung Internet",
      "os": "Android",
      "browser": "samsung",
      "engine": "blink",
      "status": "yes",
      "version_added": "8.0",
      "version_full": "8.0",
      "applicable": true,
      "notes": [
        {
          "text": "Derived by browser-compat-data mirroring from Chrome Android.",
          "text_zh": "由 browser-compat-data 镜像自 Chrome Android 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "WebView (Android)",
      "os": "Android",
      "browser": "webview",
      "engine": "blink",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "Implementation tracking: https://crbug.com/40540400.",
          "text_zh": "实现跟踪：https://crbug.com/40540400。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/Navigator.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    }
  ],
  "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>"
}