Azure notification hub sending notifications to iOS only

元气小坏坏 提交于 2020-01-06 02:32:15

问题


I'm working on a multi-platform app which includes push notifications. The issue I'm facing is described in the images below

1st Scenario :

2nd Scenario :

However, when I test notification hub (using azure portal or Visual Studio), I receive notifications on all the devices. It seems that Azure Notification Hub is ignoring Android devices when an iOS device uses the same account (tag).

Any help would be appreciated


回答1:


For that type of issues, use the Service Bus Explorer. Likely, your Android app did not subscribe successfully for some reason. Subscribing different apps working on the different platforms to the same tag should not be a problem - i saw it working many times, and implemented that by myself.

If you see in the Service Bus Explorer (see registrations for your NH, and search for your android app registration and the tags field) that your android app is subscribed to the tag, but you see no notifications, check if your notification is malformed.



来源:https://stackoverflow.com/questions/36983234/azure-notification-hub-sending-notifications-to-ios-only

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