Skip to main content

Changelog


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

  • extUsrData guidance – 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 calls onDeny).

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 ConsentManager builder.

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 to false.
    • .setDebugMode() – Adds verbose debug logging. Defaults to false.
  • Added Cross-Device Consent support.

Fixes

  • Resolved crash during Android lifecycle events.

Deprecations

  • Bumped minSdkVersion to 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 Long numbers 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 setTimeoutInSeconds builder parameter.

2.0.10

May 24, 2021

Fixes

  • Fixed bug when no categories were selected.
  • Always accepted Essential.