Azure通知中心:“测试发送”已成功发送,但未发送任何GCM流量。为什么? [英] Azure Notification Hub: 'Test Send' was successfully sent, but not any GCM traffic. Why?

本文介绍了Azure通知中心:“测试发送”已成功发送,但未发送任何GCM流量。为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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流量。为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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