feat: Support Shoppable ads and v9 of mParticle iOS SDK#311
feat: Support Shoppable ads and v9 of mParticle iOS SDK#311BrandonStalnaker merged 5 commits intomainfrom
Conversation
- Add selectShoppableAds() to JS/TS API, codegen spec, iOS native bridge, and Android (no-op) - Migrate iOS native code to mParticle Apple SDK 9.0: - MPRoktEventCallback removed, use onEvent: block pattern - All MPRokt* event classes renamed to Rokt* (from RoktContracts) - Event property .placementId renamed to .identifier - MPRoktConfig -> RoktConfig via RoktConfigBuilder - MPRoktEmbeddedView -> RoktEmbeddedView - Import paths updated for mParticle_Apple_SDK_ObjC module - Add new shoppable ads event types: CartItemInstantPurchaseInitiated, CartItemInstantPurchaseFailure, InstantPurchaseDismissal, CartItemDevicePay - Backwards-compatible RoktCallback emission for onLoad/onUnLoad/etc. - Bump version to 3.0.0, iOS deployment target to 15.6 - Add shoppable ads demo button to ExpoTestApp Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR SummaryHigh Risk Overview Migrates the iOS implementation to mParticle Apple SDK Updates the Expo config plugin and sample Podfile to dynamically link the expanded set of Rokt transitive pods, and tweaks CI/Trunk tooling (Node setup, Trunk Node runtime, ESLint/markdownlint pinning). Reviewed by Cursor Bugbot for commit 3df7fe1. Bugbot is set up for automated code reviews on this repo. Configure here. |
f2e9d44 to
fe342f6
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3df7fe1. Configure here.

Summary
Adds selectShoppableAds for Shoppable Ads (JS/TS, Codegen, iOS; Android is a no-op). Migrates iOS to mParticle Apple SDK 9.0 (Rokt type renames, onEvent: pattern, config/builder updates). Bumps 3.0.0 and iOS 15.6. Fixes Expo prebuild (plugin transitive Rokt pods + dynamic framework list; podspec cleanup). Adds a short ExpoTestApp README guide and tweaks the demo (staging placement + attributes).
Testing Plan
Tested through MParticleExpoTest and confirmed shoppable ads displayed correctly.


Master Issue
Closes https://go.mparticle.com/work/REPLACEME