Versions Compared
Version | Old Version 1 | New Version Current |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
This article describes what you need to consider when implementing your own mobile app using Smart ID Mobile SDK and you want to get push notifications triggered from Smart ID Digital Access component (Hybrid Access Gateway).
- Your app must register its current device token together with a list of currently installed profile IDs (push IDs), using a Device registration API that you must implement in your organization's notification server. The mandatory data is described below.
- Hybrid Smart ID Digital Access Gateway component will post requests for all known profile IDs by using the Push API described below. This data can be used in push notifications and handled in your mobile app. This logic must also be implemented by your organization, both the notification server and the mobile app.
This image shows the communication between the mobile app, Personal Smart ID Messaging and Hybrid Smart ID Digital Access Gatewaycomponent.
Image Removed
Image Added
Device registration API
Your organization's notification server must know the correlation between the profile ID (push ID) and the vendor and device ID. Therefore you must implement a Device registration API with the following details, which the app must provide:
- profileID - this equals
pushId
in the Push API - OS:
- iOS
- Android
- deviceID:
- For iOS:
device token
For Android:
device registration token
- For iOS:
For more information, see
For iOS: https://developer.apple.com/documentation/usernotifications
For Android: https://firebase.google.com/docs/cloud-messaging/server
Push API
Smart ID Digital Access component (Hybrid Access Gateway) will send a REST (POST) request to your company's notification server with the following data which can be used in the push notifications:
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Description Sends a push notification to the Personal Smart ID Mobile App. Method POST JSON data
JSON schema
|