Primary eng (and PM) emailspe...@chromium.org,
pjmcl...@google.com,
poz...@google.comSummaryChrome introduced Web Push Notifications in M42, based on proprietary GCM authentication that requires people to create a Google Cloud Project ID. A year later, in M52, we improved this by launching support for VAPID, a mechanism that continues to strictly associate messages with a particular sender, but no longer relies on proprietary mechanisms for obtaining that identifier.
-
https://developers.google.com/web/updates/2015/03/push-notifications-on-the-open-web-
https://developers.google.com/web/updates/2016/07/web-push-interop-wins-
https://tools.ietf.org/html/rfc8292Per this Intent we'd like to deprecate support for GCM-based authentication. Since this is sizable and depends on server-side changes, we'd like to follow a particular timeline:
- June: Deprecation warning in the DevTools console (M76), publish updated documentation
- July: List of accepted Sender IDs frozen on the server. Existing ones will continue to work, but new ones will not be accepted
- July–February: Pro-active outreach to affected developers
- February (M80): Removal of support for GCM authentication
A separate Intent to Remove will be send closer to the time with statistics on the deprecation. We've already been in contact with a number of large parties to ask for their feedback.
Motivation
Other vendors are not able to support non-VAPID based subscriptions, so this stands in the way of interoperability.
Interoperability and Compatibility RiskEdge: Not supported, positive to removal
Firefox: Not supported, positive to removal
Safari: Does not support Web Push Notifications
This removes support for something that's proprietary to Google.
Alternative implementation suggestion for web developersMigrate subscriptions that have been created based on a GCM "sender ID" to new ones created with VAPID keys. This can be done without any user impact. Our documentation has already been updated to match the best practices:
https://developers.google.com/web/fundamentals/push-notifications/Usage information from UseCounterThe impact metrics are sourced from our servers, so I'm unfortunately not able to share that.
It's sizable, which is why we've already reached out to the larger affected parties and propose the aforementioned deprecation path. Because the affected websites use a Google Cloud Project ID, we have the ability to contact them directly once this deprecation has been approved.
Entry on the feature dashboardhttps://www.chromestatus.com/feature/5573539073622016Requesting approval to remove too?No. A separate Intent to Remove will be send closer to the time with statistics on the deprecation.