The document describes how to build an Apple Push Notification service (APNs) client application for iPhone and a corresponding server. The client registers with APNs to receive push notifications and handles notifications received. The server implements the APNs interface to send notifications by generating credentials, formatting payloads, and sending messages over SSL. Code examples are provided in Ruby to demonstrate implementation on the server side.
14. 12
★
• Miss Piggy
• Catherine Miss Piggy
• Mr. Kermit iPhone
★
Miss Piggy Cathy (Catherine)
Miss Piggy
Miss Piggy Cathy Kermit
Miss Piggy Kermit iPhone Push Notification
15. 13
References
• Apple Push Notification Service Programming Guide
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/
RemoteNotificationsPG/Introduction/Introduction.html
• How to build an Apple Push Notification provider server (tutorial) « Boxed Ice Blog
http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-
server-tutorial/
• Ruby - pack
http://www.ruby-lang.org/ja/man/html/
pack_A5C6A5F3A5D7A5ECA1BCA5C8CAB8BBFACEF3.html
• SSL - 2008-01-03 -
http://d.hatena.ne.jp/shinichiro_h/20080103#1199305204