Repository navigation
v2.4.0
Aligns the public sample app with Axeptio Android SDK 2.4.0, consolidating the 2.2.0, 2.3.0 and 2.4.0 SDK releases. Supersedes the release/2.2.0-beta.1 branch, which is now retired.
⚠ BREAKING CHANGES
- sample-java: the Java sample module has been removed. The SDK dropped Java language support in
2.2.0(MSK-160) and removed the@JvmStaticcompanions; Java consumers must recompile and either migrate to Kotlin or callAxeptioSDK.INSTANCE.instance(). See the "Migrating from Java" section of the README.
Features
- sdk: bump
io.axept.android:android-sdkto2.4.0. - sample-kotlin: register the
onCMPRestored()listener callback (new in SDK2.4.0) inMainActivityand surface a live counter on theAxeptioStoredemo screen. - sample-kotlin: wire
setDisplayPopUpOnEnterForeground()and expose it, alongsidesetForceShowConsentDebug(), as switches on the Configuration screen. - sample-kotlin: show
getRemainingDaysForConsent()on the Debug Consent Info screen. - sample-kotlin: pass the full
initialize(...)signature includingwidgetType,prId,consentExpirationDaysandshouldUpdateConsentExpiration. - sample-kotlin: add
AxeptioStoreDemoScreenshowcasing the StateFlow-basedAxeptioStorein Jetpack Compose, reachable from the main screen. - sample-kotlin: report the real SDK version in the app header instead of "Local Development Build".
Bug Fixes
- gradle: point the GitHub Packages Maven repository at
axeptio/axeptio-android-sdkinstead of the staleaxeptio/tcf-android-sdkURL. - sample-kotlin: stop
saveCustomConfiguration()silently resettingwidgetType,prIdand the consent-expiration fields, which the Configuration screen does not expose.
Documentation
- readme: document codeless consent forwarding to Firebase, AppsFlyer, Adjust and Singular (SDK
2.3.0) — including that it needs no integration code and is a no-op for absent partners. - readme: document
onCMPRestored()and its repeat-fire semantics,getRemainingDaysForConsent(),setForceShowConsentDebug(),setDisplayPopUpOnEnterForeground(), and the deprecatedclearConsent()alias. - readme: document the full
initialize(...)signature and thattargetServiceis fixed for the process lifetime. - readme: rewrite the Google Consent v2 section to lead with automatic Firebase forwarding, keeping the manual mapping as the optional explicit path.
- readme: remove the Java code samples, which no longer compile against the SDK, and replace them with a migration section.
Build
- ci: fix the Gradle daemon heap so
masterbuilds stop running out of memory. The workflow setORG_GRADLE_PROJECT_org.gradle.jvmargs, which defines a project property rather than a build-environment setting, so CI silently built at the previous 2048m default and OOMed while packaging the APK.