feat: Add support for Rokt event channel subscription#53
Merged
rmi22186 merged 4 commits intoJun 24, 2025
Conversation
- Add RoktEventHandler to forward native Rokt events to Flutter. - Use an EventChannel to stream events from the native Android and iOS side. - Add lifecycle-runtime-ktx dependency to safely collect events tied to the Activity lifecycle. - Make the plugin ActivityAware to get the required Activity context. - Add iOS events API and use the callback to subscribe to events and map them to the Flutter side. - Update the example app to demonstrate listening for Rokt events.
bd07a9c to
970059c
Compare
- Change macOS runner version from 14 to 15. - Add step to set up Xcode 16.3.0 for building the iOS Flutter app.
BrandonStalnaker
previously approved these changes
Jun 23, 2025
acfccfa to
b5c93a0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instructions
developmentSummary
RoktEventHandlerto forward native Rokt events to Flutter.EventChannelto stream events from the native Android and iOS side.lifecycle-runtime-ktxdependency to safely collect events tied to the Activity lifecycle.ActivityAwareto get the required Activity context.Testing Plan
iOS
Screen.Recording.2025-06-23.at.4.47.17.pm.mov
Android
Screen.Recording.2025-06-23.at.3.00.24.pm.mov
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)