Question

I am creating an app that makes constant use of push notifications as means of communicating between users (messaging of sorts). This whole ordeal seems to drive me a bit nuts, so here are few questions I could not find an answer to.

  1. I found mentions that non-authenticated web services (ones without certificate) are throttled to 500 push notifications per day per subscription in MPNS. However, I could not find such mentions anywhere when trying to find limitations regarding WNS. Do these limitation/requirements exist for WNS?

  2. At best, I am sending quite many push notifications (i.e. 1-3 per second per active user). I understand that this might eat battery life out of smallest devices (my targets are Windows 8 devices in general), but so does polling the server for updates. My approach has the advantage of being very responsive, but I am not sure push (raw) notifications are meant for communication such as this. Are there any alternatives? Basically I have ditched the persistent connection option due to the nature of mobile networks (connections can drop out)

  3. What is the actual difference between these two?

Perhaps I'm slightly confused with the terminology and some other sources suggested that I can't even go around MPNS, but doesn't WNS do exactly that?

I'm not sure if this is the right media to post these questions, but I hope someone out there can shed some light into this.

Was it helpful?

Solution

  1. The 500 push notifications per day per subscription in MPNS only apply is you don't authenticate your service calls to MPNS. If you authenticate, there won't be any limits.

  2. Such a high frequency doen't seem an appropriate use for push notifications for mobile devices, but I'm not sure about the alternatives.

  3. WNS is the push notifications service for Windows 8 store applications. MPNS is the push notification service for Windows Phone devices. The service you should use depends on which OS you are targeting.

OTHER TIPS

With the release of Windows Phone 8.1, WNS is now available for Windows Phone, too. Since convergence is the goal, prefer the new WNS API. The MPN API is still available for backwards compatibility though. The MPN layer in WP8.1 is actually a shim built on WNS. For more details, watch the Build 2014 session "Notification Platform Development on Windows".

You should use WNS, since Windows Phone 8.1 is using also this method for Universal Apps. WP 8.1 Silverlight Apps could use both.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top