I have a Google Chrome Extension that listens for GCM messages in a background script via chrome.gcm.onMessage.addListener. Our provider is planning to upgrade their infrastructure to use the latest Firebase Cloud Messaging which is no longer compatible with GCM. We've confirmed the gcm addListener API no longer receives messages after upgrading to FCM in the dev environment.
I've found migration guides for Android, iOS, and progressive web apps but none specifically for background scripts in Chrome extensions.
Some resources I've found:
The extension that I mentioned in my question three years ago still exists today and continues to rely on the
chrome.gcmextension API.Recently we noticed the
gcm.notification.badgevalue is no longer being passed along with the data object, instead we're seeing agcm.notification.eproperty that I believe contains the badge value. I was unable to find any documentation on why that property changed but I did find an answer to my original question:Source: https://bugs.chromium.org/p/chromium/issues/detail?id=831532