问题
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
- i am running my build on Local Machine having windows 10
- 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.
- i am using
Windows 10 sdk Anniversary Edition 1493
来源:https://stackoverflow.com/questions/48518282/unable-to-get-channel-uri-for-uwp-windows-notification-service