Presentation is loading. Please wait.

Presentation is loading. Please wait.

Apple Push Notification Service

Similar presentations


Presentation on theme: "Apple Push Notification Service"— Presentation transcript:

1 Apple Push Notification Service
Clay Mullis

2 Push (the technology) - Any continuous (or negligibly intermittent) client-server connection that allows for some data payload to be sent to the client automatically

3 Examples?

4 HTTP server push - A basic TCP/IP client/server connection where the connection is left open so the server can send a push whenever new data is ready

5 Pushlet - the pushlet method tricks a browser into a state of constant loading. This allows the dynamic pushing of new javascript whenever new data is available

6 Long polling - not technically push, but good enough for most purposes
- involves a client issuing requests from a server at specified intervals. - this is done often in non-push connections - The idea is to poll the server very infrequently. If there is no content available the poll request will be left open until there ois

7 Flash XML Socket relays
- method uses a single-pixel Adobe Flash movie - common with chat applications

8 Apple Push Notification Service
- APNS is an implementation of push technology designed specifically for their hardware/software ecosystem. - APNS can be used to send notifications to users of Apple’s computers, tablets and phones

9 Apple Push Notification Service
Multiple providers can push to multiple devices.

10 APNS QoS - Push notifications do not get “dropped”
- Apple has built in methods for storing and resending pushes even a device is offline

11 Security - Apple established Connection trust and Token trust to handle security - Somewhat complicated...

12 Service-to-Device Trust

13 Provider-to-Service Trust

14 Token Creation/Dispersal

15 Token Creation/Dispersal

16 Notification Payload

17 Notification Payload { "aps" : { "alert" : {
"body" : "Bob wants to play poker", "action-loc-key" : "PLAY" }, "badge" : 5, "acme1" : "bar", "acme2" : [ "bang", "whiz" ] }

18 Notification Payload {
"aps" : { "alert" : "Message received from Bob" }, "acme2" : [ "bang", "whiz" ] }


Download ppt "Apple Push Notification Service"

Similar presentations


Ads by Google