简体   繁体   English

MobileFirst 7.1.0 Android FCM推送通知

[英]MobileFirst 7.1.0 Android FCM Push Notifications

We have developed a hybrid application using MobileFirst 7.1.0 and are looking to implement push notifications. 我们已经使用MobileFirst 7.1.0开发了一个混合应用程序,并且正在寻求实现推送通知。 With the recent changes regarding GCM to FCM, I'm wondering if it would be possible to add the project to FCM and use the API Key and Sender ID? 随着有关GCM到FCM的最新更改,我想知道是否有可能将项目添加到FCM并使用API​​密钥和发件人ID? I have seen the documentation has been updated for MobileFirst 8.0 and wondering if the same will work on 7.1.0. 我已经看到该文档已针对MobileFirst 8.0进行了更新,并且想知道该文件是否适用于7.1.0。

The documentation has indeed did not yet get updated for 7.1, but it is the same as for 8.0 (the part of registering the project in FCM Console and obtaining the key and senderId), so you can follow the same instructions. 该文档的确尚未针对7.1进行更新,但与8.0相同(在FCM控制台中注册项目并获取密钥和senderId的部分),因此您可以遵循相同的说明。

  1. Visit the Firebase Console. 访问Firebase控制台。
  2. Create a new project and provide a project name. 创建一个新项目并提供一个项目名称。
  3. Click on the Settings “cog wheel” icon and select Project settings. 单击设置“齿轮”图标,然后选择项目设置。
  4. Click the Cloud Messaging tab to generate a Server API Key and a Sender ID and click Save. 单击云消息传递选项卡以生成服务器API密钥和发件人ID,然后单击保存。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM