feat(rokt): add kit API parity access#711
Conversation
Add Kotlin MParticle.rokt access so partners can call Rokt kit APIs from the active mParticle instance again. Forward native Rokt SDK Compose events through the kit RoktLayout wrapper and document the Kotlin and Java entry points.
PR SummaryLow Risk Overview The Compose Reviewed by Cursor Bugbot for commit 7cb972b. Bugbot is set up for automated code reviews on this repo. Configure here. |
|



Background
The Rokt kit migration for 6.0 moved partner-facing Rokt APIs out of the core SDK, but Kotlin consumers still need a low-friction way to access the kit facade from the active mParticle instance. The Rokt SDK Compose wrapper also exposes native placement events that were not forwarded through the mParticle kit wrapper.
What Has Changed
MParticle.roktextension access for the Rokt kit facade.MParticleRokt.Rokt()helper as the supported Java entry point.RoktLayoutonEventcallbacks to the native Rokt SDK composable.Screenshots/Video
N/A - no visual changes.
Checklist
Validation
trunk checktrunk check --cigit diff --checkJAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home ./gradlew buildJAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home ./gradlew testJAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home ./gradlew ktlintCheckcd kits/rokt/rokt && ./gradlew build -Dorg.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Homecd kits/rokt/rokt && ./gradlew test -Dorg.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Homecd kits/rokt/rokt && ./gradlew ktlintCheck -Dorg.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home