Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Windows Phone Notifications in Azure Notification Hub

$
0
0

I'm trying to send a push notification to windows phone 8 devices, however Microsoft official documentation is using a method that no longer exists SendMpnsNativeNotificationAsync, http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-windows-phone-get-started/, I only have SendWindowsNativeNotification but im not sure if this is for Windows or Windows Phone, right now my code is as follows:

            var toast = WindowsNotificationXmlBuilder.CreateToastText01Xml("Test notify");
            hubClient.SendWindowsNativeNotification(toast.InnerXml);

But im getting a 400 bad request, no Windows target is found, please help.

Rana


Viewing all articles
Browse latest Browse all 1916

Trending Articles