Google 什么时候会停止支持 GCM? [英] When will Google stop supporting GCM?

查看:18
本文介绍了Google 什么时候会停止支持 GCM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于 Firebase 将取代 GCM,我在问自己,Google 对 GCM 的支持还会持续多久?

Since Firebase will be replacing GCM, I am asking myself how much longer will Google support GCM?

简而言之:GCM 的生命/支持何时结束?

In short: When is the end of life/support of GCM?

推荐答案

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

Update: Just today, Firebase sent out notice of deprecation emails for GCM.

2016 年,我们推出了 Firebase Cloud Messaging (FCM),它是 Google Cloud Messaging (GCM) 的继任者.作为 GCM 的下一个演变,Firebase Cloud Messaging 允许您免费向 iOS、Android 和 Web 发送通知和数据消息.此外,FCM 还为您提供了 Firebase 控制台中易于使用的通知界面等新功能,因此您可以轻松定位和测试通知以重新吸引用户.

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.

为了将更多的时间和精力投入到改进 FCM 上,今天我们宣布,您必须在明年升级到 FCM.GCM 服务器和客户端 API 已弃用,最快将于 2019 年 4 月 11 日删除.我们建议您尽早升级,以便您立即开始利用 FCM 中的新功能.

如果您的项目仍在使用 GCM API,则需要在 2019 年 4 月 11 日之前更新您的客户端和服务器代码以使用 FCM.您现有的 GCM 令牌将继续与 FCM 一起使用,因此您不会丢失发送给现有用户的能力.

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 常见问题解答中所示:

GCM 会被弃用吗?

我们将继续支持当前版本的 GCM Android 和 iOS SDK,因为我们知道现在很多开发者都在使用 GCM SDK 来处理通知,而客户端应用升级需要时间.

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.

但所有新的客户端功能都将被添加到 FCM SDK 中,只有在未来才会如此.强烈建议您升级到 FCM SDK.

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,我很确定这种支持仍将持续相当长的一段时间.

Seeing as there are still a lot of developers who are still using GCM, I'm pretty sure that the support will still continue for quite some time.

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

However, if you intend to make use of the push notification, I highly suggest proceeding with FCM. Saving the hassle of migration in the future (not that it's that hard tho) and make use of the new features available.

这篇关于Google 什么时候会停止支持 GCM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆