{"action":"created","issue":{"url":"https://api.github.com/repos/tjanczuk/wns/issues/14","labels_url":"https://api.github.com/repos/tjanczuk/wns/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/tjanczuk/wns/issues/14/comments","events_url":"https://api.github.com/repos/tjanczuk/wns/issues/14/events","html_url":"https://github.com/tjanczuk/wns/issues/14","id":52394003,"number":14,"title":"toast notifications coming through as raw.","user":{"login":"elliotstokes","id":4385563,"avatar_url":"https://avatars.githubusercontent.com/u/4385563?v=3","gravatar_id":"","url":"https://api.github.com/users/elliotstokes","html_url":"https://github.com/elliotstokes","followers_url":"https://api.github.com/users/elliotstokes/followers","following_url":"https://api.github.com/users/elliotstokes/following{/other_user}","gists_url":"https://api.github.com/users/elliotstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/elliotstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliotstokes/subscriptions","organizations_url":"https://api.github.com/users/elliotstokes/orgs","repos_url":"https://api.github.com/users/elliotstokes/repos","events_url":"https://api.github.com/users/elliotstokes/events{/privacy}","received_events_url":"https://api.github.com/users/elliotstokes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-18T17:36:49Z","updated_at":"2015-01-16T14:58:08Z","closed_at":null,"body":"Great plugin. We are currently working on getting wns notifications working for our app and are having a few problems.\r\n\r\nWhen the notification is sent we receive the notification when the app is open and the toasts are coming through as raw. If the app is closed then we see no notification at all.\r\n\r\nTo send Im using\r\nvar options = { \r\n  client_id: settings.push.windows.clientId,\r\n  client_secret: settings.push.windows.clientSecret  \r\n};\r\nwns.sendToastText02(channel, {\r\n        text1 : title,\r\n        text2 : message\r\n      },\r\n      options,\r\n      callback);\r\n    };\r\n\r\non the client it calls the httpnotificationreceived event not the toastnotificationreceived event."},"comment":{"url":"https://api.github.com/repos/tjanczuk/wns/issues/comments/70264771","html_url":"https://github.com/tjanczuk/wns/issues/14#issuecomment-70264771","issue_url":"https://api.github.com/repos/tjanczuk/wns/issues/14","id":70264771,"user":{"login":"elliotstokes","id":4385563,"avatar_url":"https://avatars.githubusercontent.com/u/4385563?v=3","gravatar_id":"","url":"https://api.github.com/users/elliotstokes","html_url":"https://github.com/elliotstokes","followers_url":"https://api.github.com/users/elliotstokes/followers","following_url":"https://api.github.com/users/elliotstokes/following{/other_user}","gists_url":"https://api.github.com/users/elliotstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/elliotstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliotstokes/subscriptions","organizations_url":"https://api.github.com/users/elliotstokes/orgs","repos_url":"https://api.github.com/users/elliotstokes/repos","events_url":"https://api.github.com/users/elliotstokes/events{/privacy}","received_events_url":"https://api.github.com/users/elliotstokes/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T14:58:08Z","updated_at":"2015-01-16T14:58:08Z","body":"I am also using the cordova push plugin. I thought that mpns was going to be retired to assumed I needed wns. Waht mpns module are you using https://github.com/jeffwilcox/mpns? or another."}}