需要从 GCM 迁移到 FCM? [英] Migration from GCM to FCM needed?

查看:27
本文介绍了需要从 GCM 迁移到 FCM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google 刚刚宣布 Google Cloud Messaging 现在更名为 Firebase Cloud Messaging.这对 GCM 的现有用户意味着什么以及需要进行哪些迁移(如果有)?

Google just announced that Google Cloud Messaging is now Firebase Cloud Messaging. What does this mean for existing users of GCM and what migration (if any) are needed?

推荐答案

更新:最近通过电子邮件宣布 GCM 现已弃用,并将于明年(2019 年)完全删除,所有 GCM 用户应开始迁移到FCM.有关更多详细信息,请参阅我的回答此处.

Update: There was a recent announcement via email that GCM is now deprecated and will be completely removed next year (2019), and all GCM users should start migrating to FCM. For more details, see my answer here.

除了Pritam Baral 的回答之外,请注意 FCM 的核心是由 GCM 本身组成的.没有实际需要迁移到它,但鼓励它,因为当迁移到 FCM 时,所有与它相关的功能都可以使用.在参考 Firebase 官方定价页面时,免费包含的功能> 是:

In addition to what Pritam Baral's answer, note that FCM's core is composed of GCM itself. There is no actual need to migrate to it, but it is encouraged, since when migrated to FCM, all of the features tied to it will be available for use. When referring to the Firebase Official Pricings Page, the features that are included for free are:

分析、应用索引、身份验证、动态链接、FCM、邀请、通知、崩溃报告等远程配置

Analytics, App Indexing, Authentication, Dynamic Links, FCM, Invites, Notifications, Crash Reporting, & Remote Config

所述,Pre-IO GCM 实现在未来应该仍能工作更长时间GCM 和 FCM 常见问题解答:

我们将继续支持当前版本的 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.


根据最近的亮点:

Firebase Cloud Messaging 以 Google Cloud Messaging API 为基础并对其进行了改进.您可以继续通过 com.google.android.gms.gcm 使用 Google Cloud Messaging,但我们建议您使用 升级到 com.google.firebase:firebase-messaging.

Firebase Cloud Messaging builds on and improves the Google Cloud Messaging API. You can keep using Google Cloud Messaging with com.google.android.gms.gcm, but we recommend upgrading to com.google.firebase:firebase-messaging.

这篇关于需要从 GCM 迁移到 FCM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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