I am following one tutorial blog to learn Push Notification for Windows Phone 8.1
I am trying to test it from Azure Notification Service "Send Test Notification", there am getting below error:
The Push Notification System is unavailable
Any Input on this.
I have added a button also and on click i have written below code
private async void OnRegister(object sender, RoutedEventArgs e)
{
try
{
var channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
NotificationHub hub = new NotificationHub("jaydeepapp", "ccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=hQm+Sq15ijRglWGacnngtzUu2wKL3MKcAz0X4xsmo1Y=");
await hub.RegisterNativeAsync(channel.Uri, new string[] { "Hi", "Jaydeep" });
}
catch (Exception ex)
{
throw ex;
}
}
code is executing without error but i am not getting the Push notification on the emulator.