Questions tagged [wns]

The Windows Push Notification Services (WNS) enables third-party developers to send toast, tile, badge, and raw updates from their own cloud service. This provides a mechanism to deliver new updates to your users in a power-efficient and dependable way.

100 questions
1
vote
0 answers

Why does my message box appear twice?

I am making an alerting application in Windows 10 using XAML and C#. I am using WNS to do my push notification. I have written a function that is triggered when I receive a notification within the app. Here is my code: private async void…
1
vote
1 answer

Windows Azure node.js Push notification for Windows store 8.1 - How to use 'createRawTemplateRegistration' template?

Please explain with one example as I am getting Error: 400 - The specified resource description is invalid. Basically, I want to update badge value. But there is no template for badge registration in WnsService API document…
1
vote
1 answer

Live Services: Unable to regenerate client secret for WNS

Im trying to regenerate my client secret at the url account.live.com/developers/applications/appsettings/* for my app (for push notification). When I click regenerate, it is stuck with 'Saving...' WHen I was inspecting the apge, I see the following…
Mythili R
  • 11
  • 1
1
vote
1 answer

Azure notifications hub "WNS Channel Disconnected" errors

Azure notifications hub shows that from 13k WNS toast notification broadcast only 5k messages succeeded and 8k got "WNS Channel Disconnected" errors. What can cause such large amount of errors? What can I check, and why this happens?
saniokazzz
  • 476
  • 1
  • 6
  • 21
1
vote
4 answers

WNS Notification : Channel URL incompatible with caller app

I'm currently developping an mobile application based on Cordova (version 4.0.0) for Windows Phone 8.1. I implemented the Java code from API Java-WNS (from github of fernandospr) to send notification to my device. When I push the notification…
1
vote
1 answer

Windows Phone 8.1 Toast Over Push - No text

I want to send a push notification on Windows Phone 8.1. The notification arrives on the phone but there is no text. It just says "New Notification" and nothing happens when i press it. I used curl to try it: curl -v -H "Content-Type:text/xml" -H…
Joel
  • 13
  • 3
1
vote
1 answer

Not receiving WNS in Windows Phone 8.1

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…
1
vote
1 answer

Sending raw WNS notifications using message attributes

I am attempting to send a raw notification to WNS by setting message attributes, but it appears that a toast notification is being sent instead. Here is the C# code I'm using to build the publish request. var request = new PublishRequest() { …
1
vote
0 answers

WNS failing all Amazon SNS notifications

I'm trying to send toast notifications to my Windows Phone 8.1 apps from the Amazon SNS console but the WNS server is refusing all of my messages. The issue probably lies in the way I format my messages as I am able to send and receive raw…
Fester
  • 863
  • 1
  • 12
  • 33
1
vote
1 answer

Registered for MPNS instead of WNS

I am developing a WP-8.1 Silverlight App and am trying to register my app for WNS notification service through the azure notification hub but am getting registered for MPNS instead there is no error in the code while building and have changed the…
The Script
  • 11
  • 3
1
vote
0 answers

WNS Azure Push notifications toast is not working only tile

We are using WNS Azure push notifications and on the app side we are registering 2 templates for a tile and for a toast (example below). On some WP8.1 devices we are not receiving toast notifications, but only tile notifications. Also we saw that on…
1
vote
1 answer

How to resolve exception : The wait operation timed out. (Exception from HRESULT: 0x80070102)

I am getting this exception when calling PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(); method. It is working fine on Device, but fails on Local Machine. This is my code : private async void…
Akshay
  • 187
  • 1
  • 3
  • 13
1
vote
0 answers

How to avoid multiple invoking of Background Task for every pending raw push

How to avoid invoking background task for every pending raw push delivered to application from wns server when user returns to connected state after being temporarily disconnected in windows runtime 8.1? I just want to invoke my background task just…
Abhishek
  • 113
  • 5
1
vote
1 answer

WNS X_WNS_MATCH bad request

I've a strange problem with WNS and Push Notification for Windows\ windows phone devices (8.1). If I send a push notification it works well. The problem is when I try to send to the WNS a X-WNS-Match request. I'm sending the current header: DELETE…
0
votes
1 answer

Creating and starting Windows Service with .exe which has package identity over sparse package (.msix) to create PushNotificationChannel

I´m new to c#, .net core world and figuring out a POC for our needs. Basically its a Windows Service created with .net core (like here explained: Create a Windows Service using BackgroundService). Our goal is to send push notification (raw push…