unable to get channel uri for UWP Windows notification service

随声附和 提交于 2019-12-24 09:36:41

问题


I am trying to write a code to receive windows push notification in xamarin.

so far i am able to get the package SID, application id and client secret key from the windows developer account. later on i have associate my app from visual studio 2017.

when i am trying to use following code to get channel uri i am getting errors

var channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();

Error without application id

Error with application id

  1. i am running my build on Local Machine having windows 10
  2. i have tried to connect my machine using local network , wifi and even with mobile hotspot just to check whether anything is blocking to make connection with WNS server.
  3. i am using Windows 10 sdk Anniversary Edition 1493

来源:https://stackoverflow.com/questions/48518282/unable-to-get-channel-uri-for-uwp-windows-notification-service

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