Out-band service

This service provides the communication between a backend server and its clients. This service allows the following:

  • The server can send instructions and transaction details directly to the application.
  • The application can respond to the server directly to approve or decline an operation.

Initializing out-band service

Before initializing the out-band service, you must initialize FastTrack API.

MobileMessenger mobileMessenger = FastTrack.getInstance().getMobileMessengerBuilder(MessengerConfigurations.getMessengerServerUrl(),
                MessengerConfigurations.getDomain(),
                MessengerConfigurations.getApplicationId(),
                MessengerConfigurations.getPublicKey().getPublicExponent().toByteArray(),
                MessengerConfigurations.getPublicKey().getModulus().toByteArray())
                .build();

If the MobileMessenger is already initialized, you can get the MobileMessenger object without setting any configuration by using the following code snippet:

FastTrack.getInstance().getMobileMessengerInstance();