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.
1 of 15
More Related Content
How to build a server and a iPhone client application using the Apple Push Notification Service
1. How to build a server and a iPhone client
application using the Apple Push
Noti?cation Service
2009/7/21 @ actindi
Shu MASUDA
2. 2
Apple Push Noti?cation Service (APNs)
What is the Apple Push Noti?cation Service?
? iPhone OS 3.0
? 3
? Alert
? Badge
? Sound
?
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 Noti?cation
15. 13
References
? Apple Push Noti?cation Service Programming Guide
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/
RemoteNoti?cationsPG/Introduction/Introduction.html
? How to build an Apple Push Noti?cation provider server (tutorial) ? Boxed Ice Blog
http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-noti?cation-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