From the course: iOS and watchOS App Development: Notifications

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

APNs and remote notifications

APNs and remote notifications

From the course: iOS and watchOS App Development: Notifications

Start my 1-month free trial

APNs and remote notifications

- [Narrator] So far, we've been working with local notifications which tell us about events that happen on the device. There's another type of notification that comes from a server and the device acts as a client. These are notifications referred to as either remote or push notifications. In push notifications allow the local notification code is unnecessary because it's happening somewhere other than the users device. There's a server somewhere which contains the content, that server will push the content toward the users device, acting as a trigger. Between a users device and the server is Apple Push Notification Service, or APNS. APNS takes the servers data, often referred to as a payload, checks if the data is from a legitimate source and sends a payload from APNS to a specific device registered to receive the push notification. APNSs main job is to coordinate security and device identity To make this happen, APNS uses two special pieces, a certificate key and a token. You as a…

Contents