Google 什么时候停止支持 GCM?

When will Google stop supporting GCM?

由于 Firebase 将取代 GCM,我问自己 Google 支持 GCM 需要多长时间?

简而言之:GCMlife/support什么时候结束?

更新:就在今天,Firebase 发出了 GCM 的弃用电子邮件通知。

In 2016, we launched Firebase Cloud Messaging (FCM), the successor to Google Cloud Messaging (GCM). As the next evolution of GCM, Firebase Cloud Messaging allows you to send notifications and data messages reliably to iOS, Android, and the Web at no cost. In addition, FCM provides you with new features like the easy-to-use notifications interface in the Firebase console, so you can easily target and test notifications to re-engage your users.

In order to devote more time and attention to improving FCM, today we’re announcing that you must upgrade to FCM in the next year. The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019. We recommend you upgrade sooner rather than later so you can start taking advantage of the new features in FCM today.

If you have projects that are still using the GCM APIs, you will need to update your client and server code to use FCM before April 11, 2019. Your existing GCM tokens will continue to work with FCM so you won’t lose the ability to send to your existing users.


截至目前,还没有关于 GCM 何时被正式弃用的官方日期。正如在 GCM FAQ:

中看到的

Is GCM going to be deprecated?

We will continue to support the current version of GCM Android and iOS SDKs because we know a lot of developers are using GCM SDKs today to handle notifications, and client app upgrade takes time.

But all new client-side features will be added to FCM SDKs only moving forward. You are strongly encouraged to upgrade to FCM SDKs.

鉴于仍有许多开发人员仍在使用 GCM,我很确定该支持仍将持续相当长的一段时间。

但是,如果您打算使用推送通知,我强烈建议您继续使用 FCM。避免将来迁移的麻烦(虽然不是那么难)并利用可用的新功能。

Google 已在 GCM and FCM FAQ 中发布了有关对 GCM 支持的更新:

"As of April 10, 2018, Google has deprecated GCM. The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019."

Google 前几天宣布 GCM 已弃用,但现在将一直有效到 2019 年 5 月 29 日。

As of April 10, 2018, Google has deprecated GCM. The GCM server and client APIs are deprecated and will be removed as soon as May 29, 2019. Migrate GCM apps to Firebase Cloud Messaging (FCM), which inherits the reliable and scalable GCM infrastructure, plus many new features.

可以在迁移指南中找到更多信息 here

感觉就像是今天,2019 年 8 月 6 日,实际上拔掉了插头