google-app-engine – 迁移到Firebase云消息传递:导入现有Google项目对项目有什么影响?


setting up FCM它说:

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.

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

我的Cloud Endpoints API是在GAE控制台和Firebase控制台中的FCM中管理的吗?我现在要看两个游戏机吗?就像这里到底发生了什么?我只想在我的Cloud Endpoints项目中迁移到FCM,我无意在我的应用程序中使用Firebase数据库.

任何帮助或澄清或最佳实践非常感谢!

最佳答案 AFAIK,您的控制台项目中不会发生任何更改.您并没有完全迁移项目,只是在Firebase控制台中导入它.该项目应在GAE控制台中保持不变.

您可以访问其他Firebase功能,但这不是强制性的(您可能已经知道).迁移本身通常应用于客户端应用程序(AndroidiOS).

加上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.

点赞