push notifications
Post on 15-Jul-2015
415 Views
Preview:
TRANSCRIPT
Push Notifications
11/27/2014
What is a Push Notification
11/27/2014 2
• Push notification is the delivery of
information from a software application to a
computing device, without a specific request
from the client (device).
11/27/2014 3
• Unlike pull notifications, in which the client
must request information from a server, push
notifications originate from a server itself.
11/27/2014 4
As entrepreneur Ariel Seidman writes,
“For the first time in human history, you can tap
almost two billion people on the shoulder…
Seamlessly…!!”
11/27/2014 5
11/27/2014 6
How is notification sent??
• Step 1 : Notification is generated by the
server on which the app is running.
11/27/2014 7
How is notification sent??
• Step 2 : App Server notifies ‘notification
service provider’ of the specific OS.
11/27/2014 8
• Step 3 : Notification service provider of the
specific OS delivers the notification received
from the server to the device.
How is notification sent??
11/27/2014 9
How does it work??
Push Notification from 1 provider to 1 device
11/27/2014 10
How does it work??
Push Notification from multiple provider to multiple devices
11/27/2014 11
Architecture Overview
APNs – Apple Push Notification service
• Apple Push Notification service is the
centerpiece of the push notifications feature
for propagating information to iOS and OS X
devices.
11/27/2014 12
11/27/2014 13
Architecture Overview
• APNs performs a store-and-forward function.
• If APNs attempts to deliver a notification but the
device is offline, the notification is stored for a
limited period of time, and delivered to the device
when it becomes available.
11/27/2014 14
Architecture Overview
• Only one recent notification for an application is stored.
If multiple notifications are sent while the device is
offline, each new notification causes the prior
notification to be discarded.
• If the device remains offline for a long time, any
notifications that were being stored for it are discarded.
11/27/2014 15
Architecture Overview
Device-to-Service Connection Trust
11/27/2014 16
Architecture Overview
Provider-to-Service Connection Trust
11/27/2014 17
Architecture Overview
Token Generation and Dispersal
11/27/2014 18
Architecture Overview
Sharing Device Token Overview
11/27/2014 19
Architecture Overview
Token Notification
11/27/2014 20
GCM
Google Cloud Messaging for Android (GCM) is a free
service that helps developers send data from
servers to their Android applications on Android
devices.
11/27/2014 21
Quick Question..!!
Does the app for which the notification is
being sent needs to be ON or run ACTIVELY?
top related