迁移到Firebase云消息传递:导入现有Google项目对项目有什么影响? [英] Migrating to Firebase Cloud Messaging: What effect will importing an existing Google project have on the project?

查看:221
本文介绍了迁移到Firebase云消息传递:导入现有Google项目对项目有什么影响?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设置FCM 中说:


在Firebase控制台中创建一个Firebase项目,如果您没有
已经有一个。如果您已有与您的移动应用关联的现有Google项目
,请点击导入Google项目。
否则,请点击创建新项目。

我有一个现在使用Google Cloud Messaging的GAE云端点项目。我正在考虑使用Firebase云消息传递。我有点紧张,将该项目导入到Firebase控制台,因为我不确定这会对现有项目产生什么影响。



在GAE控制台中管理我的Cloud Endpoints API,并在Firebase控制台中管理我的FCM?我现在必须看两个控制台?像在这里发生的事情?我只想在Cloud Endpoints项目中迁移到FCM,我无意在应用程序中使用Firebase数据库。



任何帮助或澄清或最佳实践赞赏!

解决方案

AFAIK,控制台项目不会发生变化。您并不是完全迁移该项目,而只是在Firebase控制台中导入 。您的GAE控制台中的项目应该保持不变。



您可以使用其他Firebase功能,但这不是强制性的(正如您可能已经知道的那样)。迁移本身通常应用于客户端应用程序( Android iOS )。



另外从 Firebase常见问题解答


FCM是Firebase品牌下的新版GCM。它继承了GCM的核心基础架构,并使用新的SDK来简化Cloud Messaging的开发。


$ b 升级到FCM SDK的好处包括:


  • 更简单的客户端开发。您不再需要编写自己的注册或订阅重试逻辑。

  • 开箱即用的通知解决方案。您可以使用Firebase通知(一种无服务器通知解决方案和Web控制台),任何人都可以根据Firebase Analytics的见解发送通知,以针对特定的受众群体。要从GCM SDK升级到FCM SDK,请参阅迁移Android和iOS应用程序的指南。



In setting up FCM it says:

Create a Firebase project in the Firebase console, if you don't already have one. If you already have an existing Google project associated with your mobile app, click Import Google Project. Otherwise, click Create New Project.

I have an existing GAE cloud endpoints project which currently uses Google Cloud Messaging. I am considering using Firebase Cloud Messaging. I am a little nervous to import that project into the Firebase console because I am not sure what affect this will have on my existing project.

Will my Cloud Endpoints API be managed in the GAE console and my FCM in the Firebase console? I have to look at two consoles now? Like what exactly happens here? I just want to migrate to FCM in my Cloud Endpoints project, I have no intention of using the Firebase database in my app.

Any help or clarification or best-practice much appreciated!

解决方案

AFAIK, no changes will happen in your console project. You're not exactly migrating the project, only importing it in the Firebase Console. The project should stay the same in your GAE console.

You'll have access to other Firebase features, but it's not mandatory (as you probably already know). The migration itself is usually applied to the Client apps (Android or iOS).

Plus from the Firebase FAQ:

FCM is the new version of GCM under the Firebase brand. It inherits GCM’s core infrastructure, with new SDKs to make Cloud Messaging development easier.

Benefits of upgrading to FCM SDK include:

  • Simpler client development. You no longer have to write your own registration or subscription retry logic.
  • An out-of-the-box notification solution. You can use Firebase Notifications, a serverless notifications solution with a web console that lets anyone send notifications to target specific audiences based on Firebase Analytics insights.

To upgrade from GCM SDKs to FCM SDKs, see the guides for migrating Android and iOS apps.

这篇关于迁移到Firebase云消息传递:导入现有Google项目对项目有什么影响?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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