Skip to content

Conversation

@thomson-t
Copy link
Contributor

Summary

  • 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.

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

…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.
@thomson-t thomson-t requested a review from a team as a code owner December 2, 2025 17:56
Copilot AI review requested due to automatic review settings December 2, 2025 17:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Mansi-mParticle
Mansi-mParticle previously approved these changes Jan 6, 2026
Copy link

@Mansi-mParticle Mansi-mParticle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Android Code LGTM

Copy link
Contributor

@BrandonStalnaker BrandonStalnaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link

@Mansi-mParticle Mansi-mParticle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomson-t thomson-t merged commit 2293267 into main Jan 13, 2026
8 checks passed
@thomson-t thomson-t deleted the feat/SDKE-662-add-expo-support branch January 13, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants