Skip to main content

Setup

Learn how to setup the Dojo Android SDK.

Releases

Declare the repository

Dojo hosts the Android SDK dependencies in a Maven repository. You can declare the Dojo Android SDK repository by adding the URL in the top-level build.gradle file.

info
  • The SDK uses an external library Cardinal to support 3DS. To get the credentials, contact Dojo support.
  • Ensure that you exclude payment-related fields from tracking if you are using screen recording or session recording services like LogRocket or UXCam. You can do that by setting themeSettings.analyticsExcludedFieldsIdentifier with your identifier value.
build.gradle
loading...

Add dependency

To install the Dojo Android SDK, add tech.dojo.pay to dependencies of your app\build.gradle file.

build.gradle
loading...

If your app supports ProGuard, add the following dependency to your proguard-rules.pro file:

proguard-rules.pro
loading...