Windows Push Notification Service

Windows Push Notification Service
Diagram showing the overview of the Windows Push Notification Service architecture
Overview of the WNS architecture.
Developer(s)Microsoft
Target platform(s)Windows Phone 8.1, Windows 8, Windows 8.1, Windows 10, Windows 10 Mobile
Programming language(s)C#
StatusActive
LicenseClosed-source
Websitedev.windows.com/en-us Edit this on Wikidata

Windows Push Notification Service (commonly referred to as Windows Notification Service or WNS) is a notification service developed by Microsoft for all devices running Microsoft Windows platforms. It allows for developers to send push data ("toast" and "tile" updates) to Windows and Universal Windows Platform applications which implement the feature.[1] Designed as a successor to the Microsoft Push Notification Service, it was first supported on Windows 8 and subsequently on Windows Phone 8.1 upon its release.[2]

Technical details

[edit]

Design and compatibility

[edit]

The Windows Push Notification Service (WNS) was designed as a successor to the Microsoft Push Notification Service (MPNS), which was only supported natively on the Windows Phone 8 Operating System. Developers can still use the MPNS on apps that are installed on newer versions of Windows Mobile (Windows Phone 8 or Windows Phone 8.1), but only if the Windows application was already registered to use the MPNS and has been converted to a Microsoft Silverlight application and modified to re-target the new platform.[3]

In 2015, Microsoft announced that the WNS would be expanded to utilize the Universal Windows Platform architecture, allowing for push data to be sent to Windows 10, Windows 10 Mobile, Xbox, as well as other supported platforms using universal API calls and POST requests.[4]

During the 2015 Build keynote, Microsoft announced a Universal Windows Platform bridge that would allow Android and iOS software to be ported to Windows 10 Mobile and published to the Windows Store.[5] In August 2015, A version of the Microsoft Android bridge toolset was reported to be leaked and available on the internet along with its documentation.[6] The leaked toolset required developers to register and use the WNS to send notification data to ported applications, and would not allow for Google Cloud Messaging to be used instead. Microsoft later discontinued the Android bridge project in favor of continuing support for iOS application porting instead.[7]

During the 2016 Build keynote, Microsoft announced an update to the WNS and the Windows 10 Operating System that will allow for Android and iOS devices to forward push notifications received to Windows 10 to be viewed and discarded.[8]

Architecture

[edit]

The architecture of the Windows Push Notification Service is similar to that of its predecessor, in that it consists of servers and interfaces that generate, maintain, store, and authenticate unique identifiers (called Channel URI Identifiers) for all devices that register to use the service.[2] When a device enrolls to receive data and notification information using the WNS, it first sends a device registration request to the WNS network. The WNS network acknowledges the request, and responds with the device's unique Channel URI Identifier.[9] Typically, the device will then send its identifier to a server owned by the developer so that it can be stored and used for sending notifications.[1] When the app developer wishes to transmit a notification or other WNS data to the device, it will transmit a POST request to the WNS network.[10] The network will acknowledge and authenticate the request. If the authentication succeeds, the data to be transmitted is enqueued and then sent to the device from the WNS network using the Channel URI Identifier.[citation needed]

References

[edit]
  1. ^ a b "Windows 8 push notifications". June 3, 2012. Archived from the original on October 12, 2016. Retrieved May 28, 2016.
  2. ^ a b "Windows Push Notification Services (WNS) overview (Windows Runtime apps)". Microsoft. 31 August 2015. Archived from the original on November 15, 2017. Retrieved November 29, 2015.
  3. ^ "Choosing MPNS or WNS for a Windows Phone Silverlight 8.1 app". Microsoft. Archived from the original on March 4, 2016. Retrieved November 4, 2015.
  4. ^ Gallo, Kevin (March 2, 2015). "A first look at the Windows 10 universal app platform". Microsoft. Archived from the original on December 30, 2016. Retrieved November 29, 2015.
  5. ^ Hachman, Mark (August 6, 2015). "Microsoft releases iOS-to-Windows app maker Windows Bridge to open source". PC World. IDG. Archived from the original on July 4, 2017. Retrieved October 9, 2015.
  6. ^ Saran, Cliff (August 18, 2015). "Android for Windows Mobile tools leaked on web". Computer Weekly. Archived from the original on March 11, 2022. Retrieved May 28, 2016.
  7. ^ Jo Foley, Mary (February 25, 2016). "Microsoft: Our Android Windows 10 bridge is dead, but iOS, Win32 ones moving ahead". ZDNet. Archived from the original on October 26, 2021. Retrieved February 26, 2016.
  8. ^ Ligas, Nicola (April 1, 2016). "Windows 10 will support notifications from Android (ah yes, even Windows 10 Mobile)". Smartworld.it. Archived from the original on May 12, 2016. Retrieved May 28, 2016.
  9. ^ "Windows Push Notification Services (WNS) overview". Microsoft. May 4, 2016. Archived from the original on November 16, 2016. Retrieved May 28, 2016.
  10. ^ Snoei, Ton. "Windows Phone 8.1 Universal App Push Notifications (WNS) – Part 1". Snoei.net. Archived from the original on May 22, 2016. Retrieved May 28, 2016.
[edit]