Questions tagged [mpns]

Microsoft Push Notification Service is a service for Windows Phone which provides a resilient, dedicated, and persistent channel to send data to a Windows Phone app.

Microsoft Push Notification Service (MPNS) is a service for Windows Phone which provides a resilient, dedicated, and persistent channel to send data to a Windows Phone app.

The general flow of the service :

  1. An app requests a push notification URI from the Microsoft Push Notification Service (MPNS).

  2. The app sends the notification URI to a 3rd party server.

  3. The 3rd party server uses the notification URI to send a push notification to MPNS.

  4. MPNS routes the push notification to the app.

There are three types of push notifications that can be sent to a Windows Phone app :

  1. Toast Notification - Displays a toast notification if the app is not running. Tapping on that notification launches the app.

  2. Tile Notification - Visually updates the app's tile.

  3. Raw Notification - Delivers raw data to the app. Available only when the app in already running.

Microsoft Push Notification Service (MPNS) Documentation.

221 questions
5
votes
1 answer

Can I send parameters in push notifications to toast (Windows Phone)?

I have a case in my app where I need to send a push notification to a user device when the application is offline and appears as a toast notification. I need when the user clicks on the toast message to navigate to a specific page in my application…
5
votes
2 answers

How to update MPNS channel URI after app inactivity

A stored notification channel URI may go stale while my app is inactive -- i.e., stopped, tombstoned or dormant. What is the best practice for updating the channel URI with my web service after a period of inactivity? Various articles on the web…
lencharest
  • 2,825
  • 2
  • 15
  • 22
4
votes
1 answer

What to do with HTTP 412 (Precondition Failed) - The device is in an inactive state

I'm getting this error whenever I try to send a push notification to a Nokia WP7 device. Other push URI's don't return this error but with this one, every try failed, even when the phone is "awake" and with wi-fi on. Checking MSDN docs, I came to…
xautau
  • 76
  • 4
4
votes
3 answers

Windows phone 7 toast notification

in toast message in windows phone 7, when clicking on that message the application opens thats fine, i just want to navigate to specific page when the toast message is clicked, is there any way to do it? both in 7 and mango update??? or in…
curiosity
  • 1,207
  • 5
  • 23
  • 34
4
votes
1 answer

WP7: Push Notification Subscription Lifetime?

When a subscription has been created by a client/phone on the MPN-server, for how long is it alive? When will it become closed? Do my app-users have to start my app and create a new channel every now and then to keep a connection open?
Andreas Zita
  • 7,232
  • 6
  • 54
  • 115
4
votes
1 answer

Change tile navigation after tile update on Windows Phone

I'm sending a tile update to my app users. After the tile update I would like to automatically direct the user to the new updated page once he clicks the new tile. Is there any way I can achieve this? I can't pull the server anymore because it's a…
Kevin Cloet
  • 2,956
  • 1
  • 19
  • 36
4
votes
2 answers

Push notification mechanism used by other apps in Windows Phone

I want to know what push mechanism does gmail, facebook or other common apps use in Windows Phone? Are they using MPNS only or something else (like MQTT). For example, Facebook is available for all platforms so whether they are using different…
Vivek
  • 1,823
  • 1
  • 19
  • 39
4
votes
2 answers

Windows Push Notification Service - how to get certificate?

According to MSDN documentation, to send more than 500 push notifications per day, your service needs a certificate to establish an SSL tunnel to the WNS. I see here http://msdn.microsoft.com/library/windows/apps/ff941099(v=vs.105).aspx how to…
EkoostikMartin
  • 6,831
  • 2
  • 33
  • 62
3
votes
3 answers

Toast notifications per day

Quick question, I read that Microsoft throttles toast notifications to 500 per day per subscription... I'm just checking... but thats per phone right? Not per server sending out toasts? so if I have 1000 devices receiving 1 toast thats ok, but…
Wacka
  • 87
  • 1
  • 9
3
votes
4 answers

Windows Phone 7 - how to send files from/to the app?

I'm trying to write the most basic application for windows phone 7 and want to be able to send files (specifically XML in case that changes anything) to my app. Currently I have a WCF service setup so I can send push notifications through it. The…
solyd
  • 782
  • 2
  • 8
  • 18
3
votes
1 answer

Xml Problem Sending Toast Notification to Running WP7 Application

Folks, I've got my sample application for WP7 running. I've also got a service (WCF) and I've got a push notification sender (WPF). So far this looks pretty similar to the push notification arrangement that Microsoft has set up in the WP7 training…
Kevin Hoffman
  • 5,154
  • 4
  • 31
  • 33
3
votes
0 answers

MPNS messages are not working

I have made a windows phone 8.1 application using cordova(Phonegap). I am using PushPlugin for notification. It works perfectly fine for Android and iOS, but for Windows phone 8.1 it doesn't work. Actually it works randomly. I am using Toast…
3
votes
1 answer

Amazon SNS: JSON toasts to Windows Phones

When I use the Amazon SNS console to send toast messages to a Windows Phone 8 device (i.e. with the MPNS system), I can only send messages in text format. Selecting "Use platform specific JSON message dictionaries" and sending a JSON toast never…
ZeroOne
  • 3,041
  • 3
  • 31
  • 52
3
votes
1 answer

Windows Phone 8 push notification push channel always creates new channel uri

I wanted to check that my push notification implementation is correct. Each time I open my app (in actual fact I register the push channel only on a specific page so it's each time I go back and forth from that page) a new push channel URI is…
doktorg
  • 187
  • 1
  • 12
3
votes
3 answers

Windows Phone Toast Notification with multiple lines

I am working on a Toast Notification app for Windows Phone 8. I am able to receive the toast notification with single line of data which includes the Title and whatever content can be displayed on the single line. But anything that goes beyond the…
user1122549
  • 664
  • 1
  • 13
  • 27
1
2
3
14 15