Apple Push Notification Service

Apple Push Notification Service

Apple Push Notificaion Service logo.
Developer(s) Apple Inc.
Target platform(s) iOS, Mac OS X, Safari
Status Active
License Closed-source

Apple Push Notification Service (commonly referred to as Apple Notification Service or APNS) is a platform service created by Apple Inc. that enables third party application developers to send notification data to applications installed on Apple devices. The notification information sent can include badges, sounds, newsstand updates, or custom text alerts. It was first launched with iOS 3.0 on June 17, 2009. APNS support for local applications was later added to the Mac OS X API beginning with the release of Mac OS X 10.7 ("Lion"). Support for website notifications were later added with the release of Mac OS X 10.9 ("Mavericks").

History

Apple announced the service on June 9, 2008 with an original stated release for that September; however, as stated by Scott Forstall at the iOS 3.0 preview event on March 17, 2009, the rollout was delayed after a decision to restructure the APNS for scalability purposes due to the allegedly "overwhelming" response to the announcement of the APNS. At both events, Forstall stated that push notifications better conserve battery than background processes (which are used in pull technology) for receiving notifications.[1]

APNS was first launched together with iOS 3.0 on June 17, 2009.[2] The release of iOS 5.0 included a Notification Center, adding support for receiving and reading local notifications in a single place.[3]

APNS was also added as an API to Mac OS X 10.7 ("Lion") so that developers could begin updating their third-party applications and start utilizing the service.[4][5] Support was later improved in OS X 10.8 ("Mountain Lion") with the introduction of a Notification Center. As with iOS 5.0, the improvement allowed users to manage and read their received notifications in a single location.[6][7] The release of OS X 10.9 ("Mavericks") included Safari 7.0, which added support for accepting and receiving APNS notifications from websites that the user granted permission to.[8][9]

Technical details

Mac OS X Server uses APNS to push the server's mail, calendar and contacts services to network users. Devices such as the iPhone and applications like Mail and Calendar on Mac can receive push notifications from Mac OS X server.

Beginning with iOS 8.0, the maximum size allowed for a notification payload was increased to 2 kilobytes; notification payloads that exceed this limit are rejected by APNS servers. Versions of iOS that are older than 8.0, as well as versions of Mac OS X, have a maximum payload size of 256 bytes; notification payloads that exceed this limit are not sent to these Operating Systems.

In 2014, the maximum size allowed for a notification payload sent through the binary interface was increased from 256 bytes to 2 kilobytes. In December 2015, a new HTTP/2 provider API was released by Apple, effectively replacing the now-legacy binary interface. The maximum notification payload size allowed using the HTTP/2 API is 4 kilobytes. [10]

On October 22, 2014, Apple announced that it would cease all support for SSL 3.0 on October 29, 2014 due to the POODLE attack that gained public attention shortly before. After this date, developers were required to use the TLS protocol to send notification using the APNS.[11]

See also

References

External links

This article is issued from Wikipedia - version of the Friday, April 08, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.