Amazon SNS console to push raw notification to WNS

◇◆丶佛笑我妖孽 提交于 2019-12-07 12:00:52

问题


I am testing out using AWS SNS to send push notifications to my windows app via SNS. I have done the work configuring the application and my endpoint. However, I am unable to figure out how to send a raw notification to my app. The JSON to create a badge update seems to work:

{
   "WNS" : "<badge version\"1\" value\"23\"/>"
}

However, whenever I use the Raw message format, it seems to wrap the message I created and instead sends a toast message with the contents I entered. Is there any way in the console to send a pure Raw notification?

I.E. in the Raw message area I enter: 'test123', it sends a Toast notification with the following xml.

<toast><visual version="1"><binding template="ToastText01"><text id="1">test123</text></binding></visual></toast>

来源:https://stackoverflow.com/questions/32956932/amazon-sns-console-to-push-raw-notification-to-wns

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!