How does APN figures out the location of device to which a Push Notification is to be sent -


i know apn has device token on basis of identifies device notification pushed.

i want know, how able deliver notification using device token ? happens in background ?

how coordinate mobile service provider deliver notification ?

basically, device id encrypted within device token, enables apn service identify device needs receive notification. notification delivered on data connection (either mobile data connection or wifi).

here relevant quotes push notifications guide :

apple push notification service (apns) propagates push notifications devices having applications registered receive notifications. each device establishes accredited , encrypted ip connection service , receives notifications on persistent connection.

in apns, assurance of accurate message routing—or token trust—is made possible through device token. device token opaque identifier of device apns gives device when first connects it.

applications must register receive push notifications; typically right after installed on device. (this procedure described in “scheduling, registering, , handling notifications.”) system receives registration request application, connects apns, , forwards request. apns generates device token using information contained in unique device certificate. device token contains identifier of device. encrypts device token token key , returns device.

every notification provider sends apns delivery device must accompanied device token obtained application on device. apns decrypts token using token key, thereby ensuring notification valid. uses device id contained in device token determine destination device notification.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -