v152 · PWA / macOS

Notification attribution for PWAs on macOS

Chrome is rolling out notification attribution for installed Progressive Web Apps (PWAs) on macOS. When a PWA is installed on macOS, its notifications will now be natively attributed to the PWA itself (using its own name and icon in the Notification Center) rather than Google Chrome. This is primarily a UX change in how notifications are displayed to the user, aligning PWA notifications with native macOS applications. It does however introduce some small (although not directly web-exposed) behavioral changes as well. Both of these changes match the already shipping behavior in WebKit: - For installed PWAs, Chrome will no longer support the `requireInteraction` field for notifications. On macOS the choice for a notification being temporary vs persistent is a per-app setting controlled by the user rather than a per-notification setting controlled by the app. - Additionally the app badging API will now require notifications permissions for the app badge to show up. If notifications permission isn't granted the API will silently do nothing. Enterprise administrators who pre-grant notification permissions via policy must update their configurations if they want to keep that behavior for PWAs on macOS: In addition to the Chrome origin-based policy [NotificationsAllowedForUrls](https://chromeenterprise.google/policies/#NotificationsAllowedForUrls), administrators must deploy a macOS MDM configuration profile to pre-grant notification permissions to the PWA's specific bundle ID.

concepts

  1. Notification Capability Lab

    Request permission in context and create a real notification when possible.

  2. Installed Attribution Inspector

    Inspect install/display prerequisites and explain the macOS-only attribution boundary.

  3. Badge Permission Lab

    Compare notification permission with a real App Badging API call.

why it shipped

Installed PWAs on macOS receive their own Notification Center identity, icon, settings, and Focus controls instead of being grouped under Chrome.

references