The React Native SDK exposes a top-level initialize function that configures the underlying native SDK on both iOS and Android. Call it before invoking any other method.
Methods
initialize
Initializes the native SDK for the supplied App ID. The promise resolves once the native module has been configured.
Parameters:
Example:
Calling show() or showAcceptedContent() before initialize() resolves will reject with an ERR_CLICKTERM_NOT_INITIALIZED error.
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.