Changelog
4.3.4
January 06, 2026
Summary
Ensures the SDK’s UI layer always reflects the current consent state/configuration by preventing stale manager references when the UI controller is reused.
Fixes
- UI controller now refreshes to the current consent backend when reused — Existing UI instances update to the latest consent manager instead of holding an older one.
Why it matters: prevents outdated texts, settings, or callbacks after re-initialization or navigation; improves runtime reliability.
4.3.3
December 16, 2025
Summary
Improves standards compliance (IAB TCF v2.3), reduces unnecessary network requests by caching config daily, and strengthens privacy by hashing extUsrData. Also removes the previously deprecated programmatic banner timeout.
-
IAB TCF policy alignment - Consent signaling and internal evaluation logic were updated to align with the latest IAB TCF policy expectations.
Why it matters: Maintains compatibility with downstream ad-tech and CMP partners that validate against current policy versions; reduces risk of policy drift in audits and measurement. -
Automatic vendor disclosure updates after consent changes - The SDK now ensures that the set of vendors surfaced for disclosure remains synchronized immediately after any user consent modification.
- Why it matters: Provides more accurate vendor transparency for compliance, auditing, and user information, especially where reporting pipelines rely on up-to-date disclosure sets.
Note: Visit IAB Tech Lab - Consent string and vendor list formats v2 to get more information about vendor disclosure
Improvements
- Daily config caching - The SDK reuses a configuration downloaded earlier the same day and refreshes on the next day.
Why it matters: Cuts redundant network calls and improves app startup performance and resilience, while still ensuring a daily refresh for operational accuracy.
Fixes
- Hash
extUsrData- The identifier used for cross-device consent is hashed before it’s included in consent records.
Why it matters: Adds a privacy layer to reduce risk if traffic or logs are inspected.
Deprecations / Removals
- Removed:
ConsentManager.Builder#setTimeoutInSecondsand related accessors
Why it matters: This option was deprecated; timeout must now be configured in the Osano dashboard → Cookie Consent → Your Configuration → Styles → “Timeout Duration (in seconds)”.
Action: Remove any usage in code; no SDK replacement API.
4.3.2
November 24, 2025
Summary
Modernizes the SDK toolchain and networking stack for security, performance, and long-term compatibility.
Improvements
- Kotlin 2.2.0 – Upgraded language/runtime for improved performance and tooling support.
- Networking stack updates – Bumped core dependencies:
- Retrofit 3.0.0 (from 2.11.0)
- OkHttp Logging Interceptor 5.1.0 (from 4.12.0)
Why it matters: Keeps transitive networking components current with the latest security and compatibility updates.
Note: If your app enforces strict dependency resolution, ensure your project is compatible with Retrofit 3.x / OkHttp 5.x to avoid version conflicts.
4.3.1
November 19, 2025
Summary
Adds automatic platform metadata to consent records, updates Material 3 adaptive dependencies for stability/compatibility, and clarifies extUsrData usage. Deprecates the programmatic banner timeout in favor of dashboard configuration.
New Features
- Platform metadata in consent records – Consent stored by the SDK now includes the originating platform (e.g., Android).
Why it matters: Improves downstream reporting and cross-platform attribution. No code changes required.
Deprecations
ConsentManager.Builder#setTimeoutInSeconds– Deprecated. Configure timeout in the Osano dashboard (Styles → Timeout Duration).
Removal planned for 4.3.2.
Improvements
- Material 3 adaptive dependency updates – Aligned adaptive navigation/layout artifacts with the current Material 3 version.
Why it matters: Better stability and compatibility when using Compose Material 3.
Documentation
extUsrDataguidance – Clarified usage for Cross-Device Consent and added a PII warning (only stored when Cross-Device Consent is enabled).
Why it matters: Helps avoid misuse and ensures compliant implementations.
4.3.0
August 21, 2025
Summary
This release introduces consent expiration testing mode, adds new builder properties for ConsentManager, and fixes multiple UI and callback issues for improved stability.
New Features
- Consent expiration testing mode – Enables simulation of consent expiration scenarios.
Why it matters: Helps developers validate flows where consent refresh is required. - Builder property:
setOnConsentResultListener()– Allows attaching a listener to the auto-show dialog.
Why it matters: Simplifies consent result handling without extra setup.
Fixes
- Fixed translation hierarchy issues.
- Corrected IAB legitimate interest defaults.
- Fixed partner count plural string interpolation.
- Updated “Deny/Reject All” to use the new non-essential logic.
- Resolved cases where privacy policy buttons would become non-responsive.
- Addressed inconsistencies in palette mappings.
- Fixed bug where
OnConsentResultListener.onSuccess()was incorrectly called with denied categories (now properly callsonDeny).
Deprecations
- None in this release.
Improvements
- Improved dialog responsiveness and theme consistency.
- Enhanced callback reliability and developer experience.
4.2.0
July 31, 2025
Summary
Introduces support for Google Consent Mode V2.
New Features
- Google Consent Mode V2 support – Integrates with the latest version of Google’s Consent Mode.
Why it matters: Ensures compliance with updated Google Ads and Analytics requirements.
Fixes
- None in this release.
Deprecations
- None in this release.
Improvements
- Internal compatibility updates for Google Consent Mode V2.
4.1.0
June 30, 2025
Summary
Adds support for the Interactive Advertising Bureau’s Transparency and Consent Framework (IAB TCF).
New Features
- IAB TCF support – Implements the IAB Transparency and Consent Framework.
Why it matters: Ensures SDK interoperability with advertising industry standards.
Fixes
- None in this release.
Deprecations
- None in this release.
Improvements
- Streamlined consent string handling.
4.0.3
June 11, 2025
Summary
Introduces a safeguard for unsupported API levels.
Fixes
- Implemented API level check to disable IAB TCF string encoding where unsupported.
4.0.2
June 6, 2025
Summary
Enhances validation and dependency management.
New Features
- Added IAB TCF encoding/decoding dependencies.
Improvements
- Hardened configuration validation checks.
4.0.1
April 28, 2025
Summary
Introduces customization options for the builder.
New Features
- Added color setters to
ConsentManagerbuilder.
4.0.0
April 24, 2025
Summary
Major release with new features, crash fixes, and minimum SDK bump.
New Features
- Builder props:
.setShouldAutoShowDialog()– Automatically shows the dialog after initialization. Defaults tofalse..setDebugMode()– Adds verbose debug logging. Defaults tofalse.
- Added Cross-Device Consent support.
Fixes
- Resolved crash during Android lifecycle events.
Deprecations
- Bumped
minSdkVersionto 23.
3.0.6
January 7, 2025
Fixes
- Fixed crash with server-provided colors.
3.0.5
November 13, 2024
Fixes
- Fixed crash when region not set by configuration.
3.0.4
September 26, 2024
Fixes
- Fixed overly optimistic consents, color overrides, and language overrides in Java implementation.
3.0.3
September 26, 2024
Fixes
- Fixed handling of unexpected
Longnumbers in configuration.
3.0.2
September 25, 2024
Fixes
- Fixed ambiguous method call bug when using SDK in Java projects.
3.0.1
September 24, 2024
Fixes
- Fixed ambiguous method call bug when using SDK in Java projects.
3.0.0
September 10, 2024
Summary
Major release with expanded consent options and localization support.
New Features
- Added support for cookie consent configuration options via my.osano.com.
- Supported all consent banner variations.
- Implemented custom translation overrides.
- Introduced Do Not Sell Or Share functionality.
- Added support for right-to-left languages.
2.0.11
March 19, 2024
New Features
- Introduced
setTimeoutInSecondsbuilder parameter.
2.0.10
May 24, 2021
Fixes
- Fixed bug when no categories were selected.
- Always accepted Essential.