Repository navigation
0.3.0: parity with kontextkit-ios (consent, form factors, screen in dp) - #16
Merged
Merged
Conversation
… them; 0.3.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sktop, other); ScreenInfoProvider: width and height in dp; as kontextkit-ios Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.3.0: KontextKit Android matches kontextkit-ios in three places.
Breaking
HardwareInfoProvider.typeis the OpenRTB-derived set iOS'sHardwareTypeuses:phone(washandset),tablet,tv, plus two new values:desktop: a ChromeOS device (theandroid.hardware.type.pcfeature);other: a watch, a car, an appliance or a VR headset (from the UI mode).ScreenInfoProvider.width/heightare in dp (the logical size), as iOS reports points. They were physical pixels.dpris unchanged.Added
ConsentDataProvider: TCF v2, GPP and US Privacy from the app's defaultSharedPreferences, asConsentData(gdpr, gdprConsent, gpp, gppSid, usPrivacy)pluscollectAsDict.SharedPreferences.all, so a CMP that stored an unexpected type can't make the read throw.TCFDataProvideris unchanged.Who's affected: the React Native and Flutter SDKs' Android halves see
phoneand dp when they upgrade; their bridges can mapphonetohandsetif their server wants it. sdk-kotlin stays on 0.1.0. sdk-kotlin-video switches to these providers after the release.Release prep: the version is 0.3.0 in
gradle/libs.versions.toml, and the CHANGELOG has Breaking and Added sections.Tests:
ConsentDataProviderTest: 9 tests, new;HardwareInfoProviderTest: 11 tests, including phone, desktop before tablet, theothermodes, and the OpenRTB set;ScreenInfoProviderTest: 6 tests, including 411×891 dp at density 3../gradlew build test spotlessCheck detektpasses locally.🤖 Generated with Claude Code