notexOPENOverview
Notex/Systems/Different types of notifications
10.04LESSON 04 OF 11 · 2 MIN READ

Different types of notifications

Always free to read
SECTION VIDEODifferent types of notifications

Video coming soon. Start with the reading below.

COMING SOON

We start by looking at how each notification type works at a high level.

iOS push notification

Design a notification system — original diagram 122

We primary need three components to send an iOS push notification:

  • Provider. A provider builds and sends notification requests to Apple Push Notification Service (APNS). To construct a push notification, the provider provides the following data:
  • Device token: This is a unique identifier used for sending push notifications.
  • Payload: This is a JSON dictionary that contains a notification’s payload. Here is an example:
Design a notification system — original diagram 123
  • APNS: This is a remote service provided by Apple to propagate push notifications to iOS devices.
  • iOS Device: It is the end client, which receives push notifications.

Android push notification Android adopts a similar notification flow. Instead of using APNs, Firebase Cloud Messaging (FCM) is commonly used to send push notifications to android devices.

Design a notification system — original diagram 124

SMS message For SMS messages, third party SMS services like Twilio [1], Nexmo [2], and many others are commonly used. Most of them are commercial services.

Design a notification system — original diagram 125

Email Although companies can set up their own email servers, many of them opt for commercial email services. Sendgrid [3] and Mailchimp [4] are among the most popular email services, which offer a better delivery rate and data analytics.

Design a notification system — original diagram 126

Figure 10-6 shows the design after including all the third-party services.

Design a notification system — original diagram 127
Progress is saved on this device.
KEEP EXPLORING

One note leads to another.

Back to the library →
⌕
Search across the entire library ⌘ K