简体   繁体   English

无法设置Ionic Push GCM,因为Firebase似乎是唯一可用的服务

[英]Can't set up Ionic Push GCM because Firebase seems the only service available

I can find no way to create a traditional GCM push account on Google Console. 我找不到在Google控制台上创建传统GCM推送帐户的方法。 Everything routes to Firebase, and I cannot make any sense of these instructions http://docs.ionic.io/services/profiles/#android-gcm-project--api-key for how to set up Ionic Push for GCM now. 一切都路由到Firebase,我无法理解这些说明http://docs.ionic.io/services/profiles/#android-gcm-project--api-key关于如何立即为GCM设置Ionic Push的说明。

This must affect everyone using Ionic and GCM so what am I missing? 这一定会影响使用Ionic和GCM的每个人,所以我想念什么?

Google is encouraging new Cloud Messaging projects to use Firebase. Google鼓励新的Cloud Messaging项目使用Firebase。

If you still decide to use the old steps in creating a GCM project (for you to follow the steps specified in the Ionic documentation, just head over to the Google Developer Console -> Create Project -> Create Server API Key. If asked to retrieve the configuration file, you'll need to get the configuration file here and set the appropriate data to download it. 如果您仍然决定使用创建GCM项目的旧步骤(要遵循Ionic文档中指定的步骤,只需转到Google Developer Console->创建项目->创建服务器API密钥。如果要求检索配置文件,您需要在此处获取配置文件并设置适当的数据以下载它。

您可以将Firebase服务器密钥用作GCM密钥,并将Firebase发送ID用作旧的“项目编号”参数。

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

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