Global Variables

The following global variables are available globally.

  • Push notification data sent by Tapkey will contain this identifier as key. This key can be used to identify Tapkey push notifications before passing the data to the PushNotificationManager:

     if userInfo.keys.contains(TapkeyPushNotificationIdentifier) {
       tapkeyServiceFactory.pushNotificationManager
       .receivedPushNotification(userInfo: userInfo)
       .conclude()
     }
    

    This allows the application to filter for Tapkey-specific messages before passing them to Tapkey. Nevertheless Tapkey ignores push notifications that do not contain this identifier.