feat: add Rokt Shoppable Ads support#713
Conversation
Add Rokt kit facade APIs for payment extension registration and Shoppable Ads selection so host apps can wire optional payment providers through mParticle. Forward Shoppable Ads requests through the existing identity confirmation and attribute enrichment pipeline, pass dashboard stripePublishableKey into the Rokt SDK registration config, and cover the behavior with kit and facade tests.
PR SummaryMedium Risk Overview
Reviewed by Cursor Bugbot for commit 169a844. Bugbot is set up for automated code reviews on this repo. Configure here. |
|



Background
The Android Rokt SDK now exposes Shoppable Ads APIs for optional payment extension registration and shoppable placement selection. The mParticle Android Rokt kit needs matching public APIs so apps can register their payment extension through mParticle while keeping the existing identity and attribute enrichment behavior.
What Has Changed
stripePublishableKeyfrom Rokt kit settings and pass it to the Rokt SDK as payment extension config during registration.selectShoppableAdsmParticle event with finalized attributes.6.0.1-rc.2for the local Shoppable Ads API build without adding the payment extension transitively.Screenshots/Video
N/A — no visual changes.
Validation
trunk check --ci./gradlew build./gradlew test./gradlew ktlintCheck./gradlew :kits:android-rokt:rokt:compileReleaseKotlin :kits:android-rokt:rokt:testReleaseUnitTest :kits:android-rokt:rokt:ktlintCheck -c settings-kits.gradlecom.rokt:payment-extensionor Stripe transitively.Checklist