Contents

Install the SDK

 

External
Before proceeding, please ensure you have met all requirements

Click here to open this information in a new tab

 


 

To embed the Mobile SDK into your project, you will need to use Gradle, a build automation tool that offers dependency management features:

 

Gradle

Make sure JCenter is on the list of repositories in your project-level build.gradle file:


allprojects {
    repositories {
        jcenter()
        ...
    }
    ...
}

 

To integrate the Mobile SDK, add the following dependencies to your app-level build.gradle file:


//Trust Payments SDK core dependency
implementation com.trustpayments.mobile:core:2.0.0
//Optional UI module providing ready-to-use "drop-in" view
implementation com.trustpayments.mobile:ui:2.0.0

 

Tick
Your progress

Now you have installed the SDK, we recommend learning how to generate a JSON Web Token (JWT). These are used to securely transmit data during each payment session.

Click here to continue >>>