Latest SDK versions: Web
2.3.0 · Android 2.2.0 · React Native 0.3.0 — View changelogPrerequisites
- A ClickTerm account
- A published template with an effective version (see Product Guide)
- An integration with your App ID and App Key (from Integrations)
- React Native
0.75+or Expo SDK52+, iOS15.0+, AndroidminSdk 24
Need to set up your credentials and template first? See Creating an app & template.
1. Install the SDK
Install the npm package, then wire it into either an Expo or bare React Native project.- Expo
- Bare React Native
Add the SDK to your app’s Then run
plugins array so Expo CLI and EAS Build pick it up during prebuild:app.json
npx expo prebuild (or rely on EAS Build) to apply the plugin.2. Initialize the SDK
Initialize the SDK as early as possible in your app — typically in the root component or app entry point. You can obtain your App ID from the Integrations menu in the ClickTerm dashboard.3. Show the clickwrap dialog
CallClickterm.show() to present the agreement. The SDK fetches the current effective template version from ClickTerm and displays it in a native modal dialog. Once the end user accepts or declines, the SDK creates an event in ClickTerm and resolves the promise with a Signature string. If the user has already accepted the latest major version, the promise resolves with null and no dialog is shown.
4. Verify on your backend
Send the Signature to your server, then call ClickTerm’s verification endpoint with your App ID and App Key. This verifies the event — confirming the Signature hasn’t been forged or tampered with. For accepted events, a Certificate of Acceptance is generated.clickwrapEventStatus ("ACCEPTED" or "DECLINED") along with the full event metadata (event ID, template version, timestamps, etc.).
ACCEPTED— The user accepted the terms. The event is now verified and a Certificate of Acceptance is generated.DECLINED— The event is still verified, but no Certificate of Acceptance is generated. It is up to your application to decide how to handle this (e.g., blocking the user journey, restricting features, or allowing continued access).
Next steps
React Native SDK reference
Full API reference for the React Native SDK.
Template placeholders
Pass user-specific data into your templates.
Integration flow
Understand the complete architecture.

