Consent Flow

Overview

The TrustArc SDK provides a unified consent management layer for mobile and web applications. It handles remote configuration, consent state initialization, and UI presentation across Standard and IAB TCF 2.2 modes — giving developers a consistent integration surface regardless of platform.

All platforms implement the same core consent sequence. The steps below reflect how the consent flow is implemented in the app and can be used as a reference for your own integration.

What you can do
Initialize the TrustArc SDK in Standard or IAB TCF 2.2 mode
Configure runtime flags, overrides, and Unified Consent context before startup
Present the consent UI manually via openCM()
Read and apply returned consent values to in-app behaviour, trackers, and IAB/TCF preferences
Prerequisites
TrustArc SDK installed and linked in your project
A valid TrustArc domain configured for your application
Unified Consent keys and HMAC credentials (required only if using Unified Consent)
TrustArc  ·  SDK Consent Flow Sequence  ·  www.trustarc.com