Azure Notification Hub: 'Test Send' was successfully sent, but not any GCM traffic. Why?

旧时模样 提交于 2019-12-12 15:01:48

问题


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.

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.

Successfully sent test message. Outcome: {1 passed, 0 failed}. Please see result section for details.

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.


回答1:


Do you have a mobile (Android) client that is registered on both Notification Hubs and GCM?

NH won't send to GCM unless it has a registered client.




回答2:


What @adrian-hall said and also see whether Notification Hubs diagnosis guidelines help.

There's also an article on how to use Visual Studio Server Explorer to debug Notification Hubs issues.



来源:https://stackoverflow.com/questions/38871103/azure-notification-hub-test-send-was-successfully-sent-but-not-any-gcm-traff

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!