在Azure门户中,我创建了一个通知中心。在推送通知服务 - Google(GCM)中,我输入了从GCM获得的API密钥值。
In the Azure Portal, I created a Notification Hub. And in "Push notification services - Google (GCM)", I entered the API Key value that I obtained from GCM.
为了验证我的Azure通知集线器设置和GCM,我在Azure Portal - 通知中心运行了测试发送。
In order to verify my settings of Azure Notification Hub and GCM, I ran 'Test Send' in Azure Portal - Notification Hub.
我在下面收到了一条消息。
I got a message in Portal soon as below.
成功发送测试消息。结果:{1通过,0失败}。详情请看结果部分。
Successfully sent test message. Outcome: {1 passed, 0 failed}. Please see result section for details.
但是我没有收到任何GCM的消息流量。 请参阅截图。
BUT I have not gotten any message traffic in GCM. Refer to the screenshot, please.
我已经工作了整整一天,但对于哪里出了问题我仍然很模糊。 任何想法?
I have worked for a whole day but I'm still vague about what went wrong. Any ideas? Thank you in advance.
推荐答案您是否拥有在通知中心和GCM上注册的移动(Android)客户端?
Do you have a mobile (Android) client that is registered on both Notification Hubs and GCM?
NH不会发送给GCM,除非它有注册客户。
NH won't send to GCM unless it has a registered client.
更多推荐
Azure通知中心:“测试发送”已成功发送,但未发送任何GCM流量。为什么?
发布评论