Push Notification

Your mobile app can optionally receive information for validation requests (authentication, transactions, etc.) via Microsoft WNS Microsoft Windows Push Notification Services 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 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>"> 
}