- 23 Oct 2024
- 1 Minute to read
- DarkLight
- PDF
The Push Notification process
- Updated on 23 Oct 2024
- 1 Minute to read
- DarkLight
- PDF
The OneSpan Notification SDK allows you to send Push notification messages to your mobile applications.
The push notification process involves the following entities:
The client device
Your back-end server
The push notification provider (e.g. Apple, Google, Microsoft)
The delivery of notifications relies on the availability of the push notification provider. Thus, the notification process does not include any warranty of delivery or delay. Notifications should not be used as a safe end-to-end delivery system.
Client registration
During application start, the client device is registered with the push notification provider. When registration is completed, the client application gets a unique notification identifier to send (usually via HTTP) to the back-end server for later use. Registration process iOS illustrates the registration process on iOS.
Registration process iOS
The registration process varies depending on the push notification provider. A specific implementation is required for each targeted platform.
Notification delivery
When the server needs to send a notification to a specific client device, the server:
Retrieves the unique identifier from the database.
Creates a notification with the specific content.
Sends the notification to the push notification provider. The server uses the appropriate credentials together with the unique identifier.
The push notification provider delivers the notification to the client device. The client device or application then creates the notification that is displayed to the user. Notification delivery process (iOS) illustrates the registration process on iOS.
Notification delivery process (iOS)
Notification delivery is immediate in most cases. However, depending on the behavior of the push notification provider and the reachability of the client device, delivery may also be deferred.
The notification delivery process varies depending on the push notification provider. A specific implementation is required for each targeted platform.