Skip to main content
The ClickTerm Android SDK lets you display clickwrap agreements to end users in your Android application.
Latest SDK versions: Web 2.1.0 · Android 2.1.0View release notes

Add the dependency

Add the SDK to your app-level build.gradle:
dependencies {
    // ... other dependencies
    implementation 'com.clickterm:android-sdk:2.1.0'
}
Sync your project after adding the dependency.

Initialize the SDK

In your Application class or MainActivity, initialize the SDK with your App ID:
import com.clickterm.sdk.ClicktermClient;

ClicktermClient.initialize("YOUR_CLICKTERM_APP_ID");
Get your App ID from the Integrations page in the ClickTerm Dashboard.
Never expose your App Key in client-side code. The App Key is used only for backend verification calls. The client SDK uses only the App ID. Store the App Key safely — it won’t display again after creation, but can be regenerated. Regenerating the key requires updating your backend configuration.

Requirements

  • The template must be Enabled in the dashboard
  • The template must have at least one published content version in the Effective state

Next steps

ClicktermClient

Client initialization reference.

ClicktermDialog

Showing clickwrap dialogs.