Skip to content

Separate Open Measurement into kontext-kit-android-om - #13

Merged
JakubMrozek merged 3 commits into
mainfrom
separate-om
Oct 31, 2026
Merged

JakubMrozek merged 3 commits into
mainfrom
separate-om

Conversation

@JakubMrozek

Copy link
Copy Markdown
Member

Open Measurement moves to its own artifact, as kontextkit-ios has KontextKitOM next to KontextKit.

  • :om module, published as so.kontext.kit:kontext-kit-android-om with the kit's version. It holds OmManager, OmSession, OmPartner, OmCreativeType and the bundled omsdk_v1.js, and depends on the kit and on so.kontext.iab:omsdk-android (runtime scope, as before).
  • Package and class names are unchanged (so.kontext.kit.omsdk.*). An SDK that measures with OMID adds one dependency and changes no code:
    implementation("so.kontext.kit:kontext-kit-android-om:<version>")
  • kontext-kit-android no longer carries the OMSDK AAR, so an SDK without OMID (the video SDK) ships no OMSDK binary and takes on no OM licence.
  • The kit now declares kotlinx-coroutines-android, which AdvertisingIdProvider already used without declaring it.

Checked: assembleDebug and test pass (the OM tests moved with the code), spotless and detekt clean, and publishToMavenLocal POMs as intended (the kit without omsdk-android; -om with the kit and omsdk-android).

Breaking for consumers: sdk-kotlin (and the React Native and Flutter Android halves) must add the -om dependency when they move to this version. sdk-kotlin's composite build against ../kontextkit-android needs the same. Suggest releasing it as 0.1.0.

🤖 Generated with Claude Code

JakubMrozek and others added 3 commits October 31, 2026 11:05
…xtkit-ios has KontextKitOM

OmManager, OmSession, OmPartner, OmCreativeType and omsdk_v1.js move to the :om module, published as so.kontext.kit:kontext-kit-android-om with the kit's version. Package and class names are unchanged. kontext-kit-android no longer carries the IAB OMSDK AAR, so an SDK without OMID ships no OMSDK binary; the kit now declares kotlinx-coroutines-android, which AdvertisingIdProvider already used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
android-actions/setup-android@v3 asks sdkmanager for the removed 'tools' package and fails; the runner image ships the Android SDK already, as the video SDK's CI relies on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The same step fails on the current runner image; without this the release tag would publish nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JakubMrozek
JakubMrozek merged commit 14a3799 into main Oct 31, 2026
1 check passed
@JakubMrozek
JakubMrozek deleted the separate-om branch October 31, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant