跳转到内容

兼容性

兼容性是一个 BCD 式数据浏览器,回答*「这个特性能在 PWA 里用吗?」*—— 跨操作系统、浏览器、版本,并且独有地按真实浏览器份额加权的国家/地区有效可达率。 它还覆盖决定能力能否真正落地生产的生态政策维度(广告网络、支付、商店接纳), 而不仅是特性是否发布。

每个特性都有规范页面,包含 OS × 浏览器 × 版本矩阵、生态政策行、完整溯源, 以及机器可读的 JSON 导出。

特性类别摘要目标数
Background SyncCapabilitiesDefer actions until the user has stable connectivity via the service worker.7
Badging APIEngagementSet an app-icon badge (count or dot) on the installed PWA.7
File System Access APICapabilitiesRead and write to the user's local file system with explicit permission.7
Install Prompt (beforeinstallprompt)InstallationProgrammatic control over the PWA install prompt via the beforeinstallprompt event.7
Manifest Protocol HandlersManifestRegister a PWA to handle custom or allow-listed URL protocols via manifest.protocol_handlers.7
Payment Request APICommerceBrowser-mediated checkout sheet collecting payment and contact details.7
Service WorkersCapabilitiesThe programmable network proxy that powers offline, caching, and push for PWAs.7
Web App Manifest: displayManifestThe display member chooses the installed app's window mode (standalone, fullscreen, minimal-ui, browser).7
Web App Manifest: scopeManifestThe scope member fences the installed app's navigation boundary.7
Web App Manifest: screenshotsManifestThe screenshots member supplies richer install UI in browsers and store listings.7
Web PushEngagementServer-sent push messages delivered via the Push API + service worker, even when the app is closed.7

已收录 11 个特性,持续增长。

兼容性数据由机器可读 JSON 渲染,并以 Dataset JSON-LD 暴露,每个特性的 JSON 导出位于 /compatibility/<feature>.json,方便搜索与 LLM 引用原始数据。