简体   繁体   中英

sending push notification to a specified tag with azure notification hub not working

I am not able to send notification to my device when I specify a tag to send notification. I am able to send notification when I do not specify any tag or with simple tags like "allDevice", "girls" etc. But when I use format like "username:myname.surname@mycompany.net" it s not sending notification. I am trying both with notification hub c# library or in the azure notification hub "send test" section.

I would suggest verifying the registration stored within Notification Hubs has the expected tags present on it. So manually writing some small console application (some samples here: https://github.com/Azure/azure-notificationhubs-dotnet/tree/master/Samples/RegistrationSample ) or using something like Service Bus Explorer ( https://github.com/paolosalvatori/ServiceBusExplorer - supports Notification Hubs) to list registrations.

From there you should be able to enumerate your registrations and see if the tag is actually stored there. If it's not there, it indicates a problem on the application side sending the tag up.

If you're still having problems, please feel free to open a support case in the Azure Portal and someone from the team can look into your particular issue and logs on our side to determine where things are going wrong.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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