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

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

问题描述

Google刚刚宣布,Google云消息传递现在是Firebase云消息传递。这对于现有的GCM用户意味着什么,需要什么样的迁移(如果有的话)?解析方案

除了 Firebase官方价格页时,免费
$ b


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

预先IO GCM实现应该在将来还能工作更长时间,正如 GCM和FCM常见问题解答


我们将继续支持当前版本的GCM Android和iOS SDK,因为我们知道很多开发人员正在使用GCM SDK来处理通知,并且客户端应用程序升级需要时间。



但是,所有新的客户端功能都将被添加到FCM SDK中,只能向前发展。强烈建议您升级到FCM SDK。







根据最近的精彩集锦


Firebase云消息传递基于并改进了Google Cloud Messaging API。您可以继续使用Google云消息传递和com.google.android.gms.gcm,但我们建议您使用升级到com.google.firebase:firebase-messaging。



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?

解决方案

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:

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

Pre-IO GCM implementations should still work for a longer time in the future, as stated in the GCM and FCM FAQs:

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.


As per the recent highlights:

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天全站免登陆