1

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

enter image description here

Error with application id

enter image description here

  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
Hunt
  • 8,215
  • 28
  • 116
  • 256

0 Answers0