Skip to main content

Veritran Docs

Parametrization

After integrating XpressPlug and all the necessary dependencies to your project, you need to provide the SDK with parameters for its execution.

First, add the XpressPlugConstants.java file provided by Veritran to your app bundle. The XpressPlugConstants.init(); class is used to initialize XpressPlug.

In the code, the following variables are created and initialized:

Map<String, String> constants = new HashMap<>();
List<VeritranModule> modules = new ArrayList<>();

The first variable contains a series of constants provided by Veritran that allow the SDK to work properly. The second variable contains a list of modules that provide the application with different additional functionalities.

Next, read the Initialization section to learn how to initialize XpressPlug so that it can be invoked.