Push Notification

View this page for | |

Your mobile app can optionally receive information for validation requests (authentication, transactions, etc.) via Google FCM Google Firebase Cloud Messaging for Android/FCM Google Firebase Cloud Messaging for Android push notifications.

Note: Push notifications are handled at the app level and are not handled by the HID Approve SDK.

Set Up Push Notifications

To configure push notifications for your app, you need to:

To enable push notifications for your app, you need to request the user permission for your app.

Push Notification Messages

Android, iOS/macOS and Windows push notification systems manipulate JSON messages. These messages can have proprietary members, configured in the HID authentication platform (in the OOB Delivery Gateway) and parsed by the mobile application.

Provisioning Notification Example

The prov value is a JSON object. The application retrieves it, serializes it, and passes it to the SDK (ContainerInitialization.activationCode).

Sample Provisioning Notification

{
    ... (members expected by the operating system) ...
    
			"prov": 
{...}
}

Transaction Signing Notification Example

The tds value is the Transaction identifier to be passed to the Device.retrieveTransaction method.

Sample Transaction Signing Notification

{            
    ... (members expected by the operating system) ...
    
	"tds": "<transaction id>"> 
}