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.
Questions tagged [wns]
100 questions
15
votes
1 answer
Push message for Windows Phone (WNS): Blocked channel URL
I have a Windows Phone application running on a Windows Phone 8.1 device, and I am using Windows Push Notification Services (WNS) to deliver a push message to the device. Delivering push messages has worked for approximately 8 days, until I received…

Deathspike
- 8,582
- 6
- 44
- 82
10
votes
0 answers
WNS pushnotification only sending to some tags
Outline
I am trying to implement WNS for my app game. I currently send a notification upon creation of a new user with the following function which works:
public async void SendNotificationToTag(string tag, string content)
{
var wnsToast =…

JTIM
- 2,774
- 1
- 34
- 74
5
votes
0 answers
WNS push payload for Voip applications in windows phone silverlight 8.1
In windows phone 8 to invoke a voip agent, server needs to send a type 4 raw notification through MPNS with following payload.
HttpWebRequest sendNotificationRequest =…

Abhishek
- 113
- 5
3
votes
1 answer
Push Notifications on Windows Desktop Apps
we are currently writing an Cross-Plattform Application for Android, iOS and Desktop / Windows with Flutter.
Our Application relies on Push Notifications to trigger actions in our application, which works perfectly fine on Android and iOS. On…

Langohr
- 217
- 2
- 10
3
votes
1 answer
Retrieve toast arguments from within a background task using ToastNotificationActionTrigger
I am trying to retrieve the arguments from a toast notification within a background task, however the recommended method on Microsofts website isn't working.
I am registering the task as below within the OnInitialize() method of my main UWP…

sparksy64
- 41
- 7
3
votes
0 answers
WNS PushNotificationReceived does not intercept toast push notification
I'm writing a windows desktop app that relies on notifications to work. However, the event handler code, PushNotificationReceived on the channel does not seem to actually fire when I receive a notification. The following code is called to get the…

Mike Evans
- 31
- 1
3
votes
0 answers
Amazon SNS console to push raw notification to WNS
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…

Michael Sabin
- 1,679
- 1
- 20
- 33
2
votes
1 answer
Error in generate app package in UWP ERROR: MCG0037
I have an error when I'm going to generate the package, before it was working, but when I implemented a background task and went to generate the package, this error appeared, does anyone know what it can be?
MCG0037:…

Eduardo
- 47
- 6
2
votes
0 answers
Receive notification when user cancels MS Store subscription?
I'm currently research if there any way to get notify our server when subscription status had change (expired or cancelled manually). I had read two related…

Liastre
- 1,281
- 11
- 29
2
votes
1 answer
how to dismiss a toast in uwp on button click
My uwp app receives toast notification from php server. It have two action buttons "View" and "Dismiss". These buttons works properly when the app is currently on activated state. (View button click redirect to a new page and Dismiss button click…

nsds
- 961
- 4
- 13
- 39
2
votes
1 answer
Windows push notification - how long sit in queue before being removed
I am working on my first Windows UWP app. And planning use Windows push notifications to notify the app about some server updates. This app will not have internet access always. It might be offline for couple of days. So I wanted to make sure…

Madhu
- 1,209
- 2
- 22
- 28
2
votes
1 answer
Windows Push notification via pushsharp fails after app reinstall - Device Subscription Expired
PushSharp version : Version 2.2.1
Issue Description
I am using pushsharp to send push notifications to windows phone app 8.1.
I installed the app on a windows phone and got a channel URI. Using the same channel URI the push notification worked for…

Shivani Pahuja
- 101
- 6
2
votes
1 answer
Azure NotificationHub - Detect failed notifications
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…

JTIM
- 2,774
- 1
- 34
- 74
2
votes
1 answer
Manually changing package.appxmanifest instead of associating UWP App with Store
I have a UWP Application, which needs to be build for two different project configurations i.e for two sets of Microsoft store Application identity and client id and client secret.
So for making two different builds all I do is change the identity…

Tulika
- 625
- 1
- 8
- 23
2
votes
1 answer
Send Push Notification To a Windows Phone 8.1 app Without submitting it to store
I want to send to push notification to a windows phone 8.1 app that currently not submitted to store. is there a way for this situation?
I know that MPNS can send unauthenticated push notification (with some limits). but is there a way to send…

Soheil Ghahremani
- 1,135
- 1
- 16
- 36