-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toast notifications coming through as raw. #14
Comments
Getting exactly the same problem |
Have you tried using the |
Yes, |
What's the format of the channel URI? The WNS one should contain |
In fact the format is: And thats why I ended up using mpns after a brief research. |
In fact it is. |
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. |
Yes that is the one I am using and it is pretty straightforward to use. |
Great plugin. We are currently working on getting wns notifications working for our app and are having a few problems.
When 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.
To send Im using
var options = {
client_id: settings.push.windows.clientId,
client_secret: settings.push.windows.clientSecret
};
wns.sendToastText02(channel, {
text1 : title,
text2 : message
},
options,
callback);
};
on the client it calls the httpnotificationreceived event not the toastnotificationreceived event.
The text was updated successfully, but these errors were encountered: