Skip to main content
The React Native SDK exposes two functions for presenting clickwrap content: show() (request consent) and showAcceptedContent() (re-display a previously accepted agreement). Both return Promises and use the native iOS / Android clickwrap dialogs under the hood.

Methods

show

Fetches the current effective template, presents the clickwrap dialog, and resolves with the resulting Signature when the user accepts or declines. If the end user has already accepted the latest major version, no dialog is shown and the promise resolves with null. ClickwrapTemplateRequest fields: Example:
show() resolves with null when the user has already accepted the latest major version — no dialog is presented and no new Signature is generated. This mirrors the Android SDK’s null Signature semantics.

showAcceptedContent

Re-displays a previously accepted agreement. Resolves with the stored ClickwrapTemplateContent for the most recent acceptance. ClickwrapAcceptedAgreementRequest fields: ClickwrapTemplateContent fields: Example:
Only works if the user has an accepted and verified event for this template.