demo · v135
Ring the user, gracefully
Chrome 135 lets installed PWAs raise a call-styled notification with system rich UI, ringtone, accept / decline buttons. Below is a real Notification with the call options, plus an in-page mock of how the system surface looks when the API isn't yet wired up.
PWA install + flag
Incoming call notifications require an installed PWA. The
type: "incoming-call" option is gated by chrome://flags/#incoming-call-notifications. The demo attempts the real call regardless.
Notification permission: ?
Display mode: ?
system surface preview
event log
the code
const reg = await navigator.serviceWorker.ready;
await reg.showNotification("Ada Lovelace", {
type: "incoming-call",
silent: false,
tag: "call-42",
actions: [
{ action: "accept", title: "Accept" },
{ action: "decline", title: "Decline" },
],
});
see also
- Incoming Call Notifications — feature index
- ChromeStatus entry