feat: add Expo config plugin for mParticle integration and create Expo test app#270
Merged
feat: add Expo config plugin for mParticle integration and create Expo test app#270
Conversation
…o test app - Introduced a new Expo config plugin to facilitate mParticle SDK integration for both iOS and Android. - Created an Expo test app to demonstrate the usage of the mParticle SDK, including event logging and Rokt placements. - Updated onboarding documentation to include instructions for using the new plugin and test app.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces an Expo config plugin for the mParticle React Native SDK, enabling automated native configuration for Expo projects. The implementation supports both iOS and Android platforms with automatic code injection for SDK initialization, kit dependencies, and platform-specific build configurations.
Key Changes:
- Expo config plugin with platform-specific modules for iOS (Swift/Objective-C) and Android (Kotlin/Java) code generation
- ExpoTestApp demonstrating plugin usage with mParticle SDK features and Rokt placements
- Comprehensive documentation updates including plugin configuration options and integration guides
Reviewed changes
Copilot reviewed 17 out of 21 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
plugin/tsconfig.json |
TypeScript configuration for the Expo plugin |
plugin/src/withMParticle.ts |
Main plugin entry point with configuration interface and validation |
plugin/src/withMParticleIOS.ts |
iOS-specific configuration including AppDelegate modification and Podfile updates |
plugin/src/withMParticleAndroid.ts |
Android-specific configuration including MainApplication and build.gradle modification |
app.plugin.js |
Plugin export module for Expo integration |
package.json |
Added plugin build scripts, files list, and Expo dependencies |
README.md |
Added comprehensive Expo setup instructions and plugin configuration documentation |
ONBOARDING.md |
Added ExpoTestApp setup and development workflow documentation |
ExpoTestApp/* |
Complete Expo test application with mParticle and Rokt integration examples |
js/rokt/rokt-layout-view.android.tsx |
Type casting fix for React compatibility |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
thomson-t
commented
Dec 2, 2025
thomson-t
commented
Dec 2, 2025
thomson-t
commented
Dec 2, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
e01537f
jamesnrokt
approved these changes
Jan 13, 2026
BrandonStalnaker
approved these changes
Jan 13, 2026
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.
Summary
Testing Plan
Tested locally
iOS
Simulator.Screen.Recording.-.iPhone.17.Pro.-.2025-12-02.at.10.30.56.mov
Android
Screen_recording_20251202_110907.webm
Master Issue
Closes ticket