feat: update rokt example validation flow#72
Conversation
Align the Flutter iOS podspec and example Podfile with the latest mParticle Apple SDK guidance and keep installation docs in sync with the new minimum version.
Add a dedicated roktSubscribeToEvents bridge path and make selectPlacements rely on explicit event subscription to avoid implicit duplicate listener registration.
Stop auto-subscribing to Rokt events inside selectShoppableAds so event delivery consistently relies on explicit subscription APIs.
Add an iOS-only Select Shoppable Ads action in the Rokt example screen and send the same attribute payload used in the MAUI sample for parity testing.
Update the example app runtime configuration so placement and shoppable ads validation uses the current test identifiers and iOS payment extension dependency.
PR SummaryMedium Risk Overview Updates docs and the example app to wire event listeners before selecting placements/shoppable ads, adds an iOS shoppable-ads validation flow (including sample attributes), and aligns iOS setup by requiring Reviewed by Cursor Bugbot for commit aebfdad. Bugbot is set up for automated code reviews on this repo. Configure here. |
Revert the example app minSdk configuration to 21 to keep release APK builds stable with core library desugaring in CI.
Document explicit Rokt event subscriptions and iOS payment extension setup for shoppable ads in both README and migration notes.
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 3205fcc. Configure here.
Prevent duplicate callback registration when events() is called repeatedly for the same placement identifier on iOS.

Background
This branch updates the Flutter SDK example flow used to validate Rokt placement rendering and event delivery across iOS and Android. It also aligns iOS native dependencies with the current Rokt payment extension path needed for shoppable ads testing.
What Has Changed
RoktPaymentExtensionpod in the example app to support shoppable ads payment-extension setup.Screenshots/Video
N/A
Checklist
Additional Notes
Validated with local iOS and Android
flutter runsessions, including successfulselectPlacementsflow and Rokt event logs.