NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #1960 most downloaded on pub.dev
The Usercentrics Apps SDK is a Consent Management Platform framework that ensures legal compliance for different legal frameworks.
Latest stable
2.35.0
Last release 11 days ago
11 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
98 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
[Android — Deep link] Added deep link to the second layer: UsercentricsBanner.showSecondLayer(tab, callback) opens the out-of-the-box second layer dir
UsercentricsBanner.showSecondLayer(tab, callback) opens the out-of-the-box second layer directly on a given tab, e.g. from an in-app button or link (SecondLayerTab.SERVICES for GDPR/CCPA, SecondLayerTab.PARTNERS for TCF). A tab the layout does not have, or null, opens the default tab. This matches iOS, where showSecondLayer(tab:) has been available since 2.34.0ShowSecondLayer(bannerSettings, tab, callback) with a SecondLayerTab (Services/Partners) opens the second layer directly on a given tab. A tab the layout does not have opens the default tab (Unity SDK repo)UsercentricsBanner.showFirstLayer overloads take an initialState: UsercentricsFirstLayerState? plus onFirstLayerStateSnapshot/onSecondLayerStateSnapshot callbacks, also with the Consent-or-Pay onLoginClicked/onSubscribeClicked. Restore is opt-in: the app stores the snapshot and passes it back when it reopens the banner (a second layer reached via "More" is restored with showSecondLayer(initialState, ...)). Existing overloads are unchangedUsercentricsOptions.crashReportingEnabled, as crash reporting is no longer opt-in (code that sets it no longer compiles, so remove it)Missing classes detected (org.jetbrains.annotations) since 2.34.0: the SDK now ships the missing -dontwarn rule in its consumer ProGuard rules, so apps no longer need to add their owncheckReleaseDuplicateClasses with Duplicate class io.sentry.* when the project also includes Sentry for Unity, by excluding, in the exported Android project, the io.sentry:sentry crash-reporting dependency that Android SDK 2.34.0 and later declare; Sentry for Unity itself is left untouched (Unity SDK repo)The domain "" has not been added to the allow list, CMP initialization failed: No core data available), because the preview page was loaded from a file:// URL with no hostname; it now runs under the official Usercentrics preview originYour coding agent can read these notes before it upgrades. Set up the MCP server →
showSecondLayer(tab:) opens the second layer directly on a given tab (Services or Partners), matching iOS. A tab the layout does not have, or null, opens the default tabUsercentricsOptions.crashReportingEnabled, as crash reporting is no longer opt-in (not used by the Flutter wrapper)Missing classes detected (org.jetbrains.annotations) since 2.34.0[Security] Fixed activesupport vulnerabilities in the build tooling and pinned the CircleCI image by digest
UsercentricsCore.setBrazeConsentHandler and receives the consent decision (the last decision is replayed on registration)showSecondLayer API (UsercentricsBanner.showSecondLayer(tab:), with SecondLayerTab.SERVICES/PARTNERS) to open the second layer directly on a given tab, for both the out-of-the-box and custom UI. A tab the layout does not have opens the default tabSymbol not found in UsercentricsUI, expected in the bundled Sentry.framework) by disabling Sentry on iOSsaveDecisions returning granted non-essential services as denied when called on the first isReady after configure on a fresh install (explicit decisions now win same-second ties with stored implicit entries, and first init is detected correctly when a controllerId is injected)isHidden template flag showing in its category card but missing from the Services tab; the flag is now ignored, matching WebUsercentricsUnrealBanner called a non-existent handleBannerResponse overloadactivesupport vulnerabilities in the build tooling and pinned the CircleCI image by digestshowSecondLayer API to open the second layer directly on a given tab (Services or Vendors), falling back to the default tab when the layout does not have itUsercentricsCore.setBrazeConsentHandler)isHidden template flag being listed in its category but missing from the Services tab[iOS — Unity] Fixed the Unity iOS build (Swift Package Manager) copying the UsercentricsUI resource bundle into UnityFramework as a dangling symlink w
UsercentricsUI resource bundle into UnityFramework as a dangling symlink when exporting via xcodebuild archive, which left the bundle missing in the final .app (Unity SDK repo)UsercentricsUnreal.init rejecting a null context on iOS[iOS — Unity] Fixed the Unity iOS static package crashing at launch ( Library not loaded: @rpath/Usercentrics.framework/Usercentrics ) by restoring th
Library not loaded: @rpath/Usercentrics.framework/Usercentrics) by restoring the static Usercentrics core alongside the static UsercentricsUICannot load bundle), by copying the UsercentricsUI resource bundle into UnityFramework.framework during the Xcode export[TCF 2.4] Added the new mandatory standard text to the Features category on the first and second layers (mobile and CTV), and removed the workaround f
[PUR — Consent or Pay] Added the Consent-or-Pay 1st-layer banner ("Reject & Subscribe" card, subscriber-login link, onLoginClicked / onSubscribeClicke
onLoginClicked/onSubscribeClicked callbacks), a setting to control TCF signal retention on rejection plus a subscription-lapse reset API, and a fix so Deny All on the 2nd layer without an active subscription redirects back to the 1st layer instead of silently force-consentingObject.FindObjectOfType(Type) usage (Unity SDK repo)[Android] Added edge-to-edge display support for the consent banner, correctly handling system bar insets
controllerId to the React Native bridge optionscontrollerId to the Flutter bridge optionscontrollerId injection support to UsercentricsOptionsversion parameter in UsercentricsOptions being ignored when a cached settings response already existsfastlane to patch a high-severity jwt CVEfast-xml-builder to patch a high-severity CVE[Unity — Mediation] Added support for Unity's End-User Consent Mode API ( EndUserConsent.SetConsentState ), mapping UC consent decisions to Unity Vect
EndUserConsent.SetConsentState), mapping UC consent decisions to Unity Vector's AnalyticsIntent/AdsIntent signals — unblocks Unity Ads Vector adoption. Also fixed the dead Unity Ads link in the Consent Mediation docsCrashlyticsMediationSDK throwing NoClassDefFoundError on Firebase BOM 34+ by resolving FirebaseCrashlytics via reflection instead of the removed KTX API[Unity] Added isExempt to the Unity ServiceConsent model, propagating the statistical exception flag to the Unity bridge
isExempt to the Unity ServiceConsent model, propagating the statistical exception flag to the Unity bridgeusercentrics-spm-ui/usercentrics-spm-sdk package tags for Unity releasesExternalLinkSpan.onClick crash on invalid/empty link URLsassert(false) calls in Additional Consent Mode and CCPA save paths that could crash debug buildsDPAD_DOWN navigation escaping the second-layer detail list boundary[iOS] Rebuilt UsercentricsUI.xcframework with the Xcode 26 / Swift 6.3.3 toolchain, fixing build failures on Xcode 26.6 for apps consuming 2.27.1/2.28
UsercentricsUI.xcframework with the Xcode 26 / Swift 6.3.3 toolchain, fixing build failures on Xcode 26.6 for apps consuming 2.27.1/2.28.0 (including via the React Native bridge)[iOS — Mediation] Fixed AppLovin CCPA setDoNotSell always passing YES regardless of the actual consent value
setDoNotSell always passing YES regardless of the actual consent value[Android/iOS] Fixed multiple overlapping banner instances on rapid showFirstLayer/showSecondLayer calls
showFirstLayer/showSecondLayer calls[Android/iOS] Fixed ACM (Additional Consent Mode) initialization silently continuing when selected ATP providers are no longer listed in Google's ATP
PrivacyInfo.xcprivacy file at SPM zip root causing pod install integration warningsUCButtonSettings, UCButtonType, UCToggle, PredefinedUIAlertDialogFactory, UCSecondLayerViewModel, and related UI internals are now internal or annotated with @InternalUsercentricsApi — these were never part of the documented public API[iOS — Accessibility] Fixed VoiceOver announcing wrong language for English content (WCAG 3.1.2 Language of Parts)
showFirstLayer; added guard against double-presentation[denyAll, acceptAll] in default button mappingtrue when showTogglesForVendors=false on second layer Save[PUR Compliance] Implemented Mandatory Label and Hide Vendor Toggles on the second layer — purposes and special features absent from publisherRestrict
publisherRestrictions/specialFeatures maps are rendered as mandatory (pre-consented, non-interactive with a "Mandatory" label), and showTogglesForVendors: false hides toggles on the Vendors/DPS tab while keeping them on the Purposes tab. All logic is gated behind enableConsentOrPay; existing configurations are fully unaffectedgetCmpData, enabling fully custom TCF UI buildsAbortController is not definedchangeLanguage() API to the Unity bridge[Mediation] Fixed FirebaseAnalyticsMediationSDK failing for apps using Firebase 32+ due to the Firebase KTX migration
FirebaseAnalyticsMediationSDK failing for apps using Firebase 32+ due to the Firebase KTX migrationsetAnalyticsCollectionEnabled(true) not being called after consent is granted, causing Firebase Analytics to remain permanently disabledconsentMediation flag not being forwarded to the native iOS SDK — InitializeOptionsSerializer now correctly deserializes the consentMediation option, ensuring mediation is activated on iOS when enabledImproved SDK initialization logging
shouldCollectConsent always returning true after app relaunch on TCF configsusercentrics-spm-ui packageAdded support for US National (GPP) privacy framework
getDpsMetadata() API### 2.25.1 – Mar 02, 2026 ## Improvement * UI improvements and fixes
Added specialPurposes and optOut fields to TCF vendor disclosures for detailed storage information
specialPurposes and optOut fields to TCF vendor disclosures for detailed storage informationAdded a new feature allowing admins to show or hide the "Manage Settings" button
Updated CTV first layer CMP to fully align with TCF requirements by displaying purposes and stacks based on the Admin UI configuration, matching web a
### 2.24.2 – Dec 5, 2025 ## Improvement * Patch with security fixes
TCF 2.3 Support: fixes about tcString
TCF 2.3 Support: Support the latest Transparency & Consent Framework 2.3.
### 2.23.3 – Oct 6, 2025 ## Improvement * Patch with security fixes
### 2.23.2 – Oct 3, 2025 ## Improvement * Patch with security fixes
Fixed bugs related to Google Consent Strings on DenyAll, ensuring correct consent handling
Added support for AirBridge SDK
Fixed crashes related to the UI
Added support for AppsFlyer SDK
category field in UsercentricsServiceConsent objectiOS: Enhanced VoiceOver support when expanding cards across all compliance frameworks.
Android & iOS: Implemented general accessibility improvements, including better color contrast, adjustments to touch target sizes, improved focus orde
Ensured minimum touch target size of 24dp for interactive elements.
TCF Updates - TCF library updated to version 1.5.15 to resolve LI signaling ambiguity for vendors with Purposes under consent and Special Purposes
Resolved an SDK cache issue that was causing the banner to display an inconsistent UI.
Apple TV issue where focus would be lost when a cell contained a long description label.
An error occurring when trying to migrate from version 7 to 8.
Issue causing a temporary unstable SDK state when calling the clearUserSession() API
clearUserSession() APIInconsistencies when showing the banner using the windowFullscreen parameter
windowFullscreen parameteranalytics_storage flagRemoved support for Adjust version 4.
legalBasis field in UsercentricsCMPData class.Added support for manual resurface in the mobile SDK, which can be trigged through Admin Interface.
readLess label in UsercentricsLabels objectreadLess label in UsercentricsLabels objectCaching solutions - Improved our cache solution to provide faster initializations and better UX
[Fix] Crash when attempting to restore user session with controller id that only has TCF component
Added support for right-to-left (RTL) languages in our SDK for enhanced localization and global accessibility.
Update to improve compatibility and ensure smoother performance with Google Consent Mode
Update to improve compatibility and ensure smoother performance with Google Consent Mode
TCF V5 - Updated to new TCF Policy version
New timeout mode - In this version, you are able to customize the global timeout for the maximum amount of time that the SDK should take to fully init
Toggle visibility of Deny Button on Second Layer for TVs
Deprecating copy field from UsercentricsLabels
copy field from UsercentricsLabelsshowSecondLayer(...) method without argumentsUsercentrisLabels objectRare crash when initializing the SDK with TCF configuration
Firebase Consent Mediation: Improved integration with its flags
Reset method deprecated for the SDK, React Native, Flutter and Unity
Upgrade to latest Kotlin version 1.9.23
Supports Read More on Banner Message - Adds support to have a "read more" button on banner message displayed on the First Layer
getUserSessionData APIReset API will be deprecated in future versions
[Fix] Removes deprecated field TCFVendor::deviceStorage [Fix] In certain scenarios, the 'Save Settings' button color was not customizable
Clear User Session - Introducing a new API designed to simplify the process of clearing user sessions
Google Consent Mode Granular Choices - Enhances integration with Google SDKs by updating to the latest changes.
Adjust Granular Consent - By Using Consent Mediation, we have fully integrated with Adjust SDK updates associated with the DMA
[Fix] Adjusts in landscape mode where labels were not fully aligned with other elements of the screen [tvOS Fix] Numerous layout modifications have been made to address the arrangement of titles and the rendering of other elements in languages that result in larger text sizes
[Fix] Removes deprecated field TCFVendor::deviceStorage [Fix] In certain scenarios, the 'Save Settings' button color was not customizable
Initialization with SettingsId was not reporting the status correctly
status correctlyRemoves TCF 2.0 warnings - Since TCF 2.0 has been deprecated, we've removed all warnings regarding the usage of version 2.0 of this framework New TCF…
New Usercentrics Ready API - The API's new properties introduce a feature that, through Rulesets, allows identification of scenarios where the banner may be bypassed in specific locations, check it out
Removes TCF 2.0 warnings - Since TCF 2.0 has been deprecated, we've removed all warnings regarding the usage of version 2.0 of this framework New TCF 2.2 Stacks - Added support for Stacks 44 and 45
[Warning] ⚠️Support for versions lower than Android 5.0 (API Level 20) is planned to be removed in releases starting from end of March/24 [Fix] Fully removes support for TLS 1.2 in Android versions lower than 5.0 (API Level 20)
[Fix] Banner was not correctly rendered given some specific programmatic customization scenarios [Fix] Fixes layout constraints when changing the language for CCPA banners
[Fix] General improvement on resurfacing logic for any Legal Basis change on TCF Purposes
One column per quarter.