wns

WNS error 0x880403E8 on device

那年仲夏 提交于 2019-12-25 07:04:09
问题 I am developing a WP8.1 silverlight app, that receives WNS notification. It works fine on the emulator, but on the device (lumia 640), it crashes at the following api call: var channel = await Windows.Networking.PushNotifications.PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(); I receive the following error: _exception {System.Exception: Exception from HRESULT: 0x880403E8 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System

Windows Phone 8.1 Toast Notification not playing custom sound

我的未来我决定 提交于 2019-12-25 00:29:57
问题 I am in dire need of your help. I am a Windows app developer and I need my app to play an alarm sound when a toast notification is received. I have tried many different loadouts and everything works fine (Even applying silent='true' in the audio tag), except, ofcourse, for the custom sound. I have tried my dev server and I have tried with a local toast sent from the app, and nothing seems to work. My current XML loadout is as follows (I got it from an example in MSDN): string audio = "ms

unable to get channel uri for UWP Windows notification service

随声附和 提交于 2019-12-24 09:36:41
问题 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 Error with application id i am

Setting up WNS service for windows phone 8 get error after add <Identity> tag

梦想的初衷 提交于 2019-12-20 05:42:09
问题 I am setting up windows phone 8.1 push notification with urbanairship. I have SID and Secret key for my app. But when i do following step mentioned in dev.windows WNS-->Live Service site: To set your application's identity values manually, open the AppManifest.xml file in a text editor and set these attributes of the element using the values shown here. my application is stop working. is any one provide me steps for set up WNS in windows phone 8.1 then it helps me a lot, I spend over the week

Azure NotificationHub - Detect failed notifications

对着背影说爱祢 提交于 2019-12-12 10:13:17
问题 I am trying to store failed notifications in a db , e.g. client does not have internet access. This will enable me to check from a backgroundService if there is a missing notification, and then create it from the backgroundService . I therefore have the following, on my Azure App Service Mobile : var notStat = await hub.SendWindowsNativeNotificationAsync(wnsToast, tag); telemetry.TrackTrace("failure : " + notStat.Failure + " | Results : " + notStat.Results + " | State : " + notStat.State + "

Not receiving WNS in Windows Phone 8.1

三世轮回 提交于 2019-12-11 12:13:33
问题 I'm developing an app in Windows Phone 8.1 (NOT silverlight) which uses WNS to receive raw push notification. While I run my app through Visual Studio (over a physical device, not in the emulator), I always receive push notifications (with the app in foreground, in background, with the phone locked...) so I think my code to receive push is correct. My issue is when I run my app whithout using Visual Studio. If I press the "app icon" on the device to init the app and keep it in foreground, I

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

Azure NotificationHub - Detect failed notifications

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 05:23:25
I am trying to store failed notifications in a db , e.g. client does not have internet access. This will enable me to check from a backgroundService if there is a missing notification, and then create it from the backgroundService . I therefore have the following, on my Azure App Service Mobile : var notStat = await hub.SendWindowsNativeNotificationAsync(wnsToast, tag); telemetry.TrackTrace("failure : " + notStat.Failure + " | Results : " + notStat.Results + " | State : " + notStat.State + " | Success : " + notStat.Success + " | trackingID : " + notStat.TrackingId + "); The code snippet was to

Amazon SNS console to push raw notification to WNS

瘦欲@ 提交于 2019-12-05 20:16:39
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

Setting up WNS service for windows phone 8 get error after add <Identity> tag

て烟熏妆下的殇ゞ 提交于 2019-12-02 07:51:25
I am setting up windows phone 8.1 push notification with urbanairship. I have SID and Secret key for my app. But when i do following step mentioned in dev.windows WNS-->Live Service site: To set your application's identity values manually, open the AppManifest.xml file in a text editor and set these attributes of the element using the values shown here. my application is stop working. is any one provide me steps for set up WNS in windows phone 8.1 then it helps me a lot, I spend over the week on this and now really frustrating. I got success with Push Notification in Windows Phone 8.1/ Windows