{"action":"created","issue":{"url":"https://api.github.com/repos/Redth/PushSharp/issues/555","labels_url":"https://api.github.com/repos/Redth/PushSharp/issues/555/labels{/name}","comments_url":"https://api.github.com/repos/Redth/PushSharp/issues/555/comments","events_url":"https://api.github.com/repos/Redth/PushSharp/issues/555/events","html_url":"https://github.com/Redth/PushSharp/issues/555","id":105817499,"number":555,"title":"Multiple callback for one notification pushsharp window phone","user":{"login":"radz1","id":14122410,"avatar_url":"https://avatars.githubusercontent.com/u/14122410?v=3","gravatar_id":"","url":"https://api.github.com/users/radz1","html_url":"https://github.com/radz1","followers_url":"https://api.github.com/users/radz1/followers","following_url":"https://api.github.com/users/radz1/following{/other_user}","gists_url":"https://api.github.com/users/radz1/gists{/gist_id}","starred_url":"https://api.github.com/users/radz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radz1/subscriptions","organizations_url":"https://api.github.com/users/radz1/orgs","repos_url":"https://api.github.com/users/radz1/repos","events_url":"https://api.github.com/users/radz1/events{/privacy}","received_events_url":"https://api.github.com/users/radz1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-10T14:23:16Z","updated_at":"2015-09-11T09:10:39Z","closed_at":null,"body":" am using standart push notification code for window phone using pushsharp. I am getting notification on the device. But problem is that i am getting multiple callback for each event. such as, for one notification, i am getting 5 callback for channel created, notificationsent etc.\r\n\r\nPlease help me where am i doing wrong.\r\n\r\nvar push = new PushBroker();\r\n\r\n        push.OnChannelCreated += push_OnChannelCreated;\r\n        push.OnChannelDestroyed += push_OnChannelDestroyed;\r\n        push.OnChannelException += push_OnChannelException;\r\n        push.OnDeviceSubscriptionChanged += push_OnDeviceSubscriptionChanged;\r\n        push.OnDeviceSubscriptionExpired += push_OnDeviceSubscriptionExpired;\r\n        push.OnNotificationFailed += push_OnNotificationFailed;\r\n        push.OnNotificationRequeue += push_OnNotificationRequeue;\r\n        push.OnNotificationSent += push_OnNotificationSent;\r\n        push.OnServiceException += push_OnServiceException;\r\n\r\n        push.RegisterWindowsService(new WindowsPushChannelSettings(\"NotificationFra\",\r\n           \"ms-app://s-1-15-2-\", \"bJl6kdPqXWtOclINfKNC\"));\r\n        //Fluent construction of a Windows Toast Notification\r\n        push.QueueNotification(new WindowsToastNotification().WithLaunch(\"{\\\"message\\\":\\\"Hi PushNotification\\\",\\\"messageToken\\\":\\\"AbCD1A3@\\\",\\\"notificationType\\\":3}\")\r\n            .AsToastText01(\"Notification Test for Daily alerts intrade FTD MTD \")\r\n            .ForChannelUri(\"https://hk2.notify.windows.com/?token=AwYAAAA%2b21ScKkaVZhp5vwRRPn7DWlEqvzKmTXy%2bNfcONUzq9PeglhxTLlD06%2fiLcgyuu9BbdeuY8Pgl\"));\r\n\r\n        push.StopAllServices(waitForQueuesToFinish: true);"},"comment":{"url":"https://api.github.com/repos/Redth/PushSharp/issues/comments/139494544","html_url":"https://github.com/Redth/PushSharp/issues/555#issuecomment-139494544","issue_url":"https://api.github.com/repos/Redth/PushSharp/issues/555","id":139494544,"user":{"login":"radz1","id":14122410,"avatar_url":"https://avatars.githubusercontent.com/u/14122410?v=3","gravatar_id":"","url":"https://api.github.com/users/radz1","html_url":"https://github.com/radz1","followers_url":"https://api.github.com/users/radz1/followers","following_url":"https://api.github.com/users/radz1/following{/other_user}","gists_url":"https://api.github.com/users/radz1/gists{/gist_id}","starred_url":"https://api.github.com/users/radz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radz1/subscriptions","organizations_url":"https://api.github.com/users/radz1/orgs","repos_url":"https://api.github.com/users/radz1/repos","events_url":"https://api.github.com/users/radz1/events{/privacy}","received_events_url":"https://api.github.com/users/radz1/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T09:10:39Z","updated_at":"2015-09-11T09:10:39Z","body":"Thanks Maximusya for your comment. I could not get enough documentation on sending notification to windows. Could you please share some documentation link that will be very much useful for me.\r\n\r\nAgain Thanks a lot ...it solved this issue."}}