From 71526f0df24cf19f60fd85e3abe786e57c191e74 Mon Sep 17 00:00:00 2001 From: Nickolas Dimitrakas Date: Mon, 22 Jun 2026 16:20:22 -0400 Subject: [PATCH 1/2] chore(android): bump mParticle core/rokt-kit floor to 5.79.2 Raises the com.mparticle:android-core / android-rokt-kit dependency floor to [5.79.2, 6.0) in the Expo plugin kit injection and the bridge android/build.gradle, and bumps the sample app pins to 5.79.2. 5.79.2 is the mParticle Android release whose android-rokt-kit is built against com.rokt:roktsdk 4.14.5, which observes the Activity lifecycle from process start so overlay placements display on deferred/late Rokt.init() (the React Native + mParticle deferred-init scenario). --- CHANGELOG.md | 1 + android/build.gradle | 4 ++-- plugin/src/withMParticleAndroid.ts | 2 +- sample/android/app/build.gradle | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b6b2d4..95fb10e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - iOS sample CI: pin `Rokt-Widget` to `5.2.0` and `DcuiSchema` to `2.7.0` (avoids `2.8.x` schema floating under Rokt’s `~> 2.6` and breaking `RoktUXHelper` Swift compile); GitHub Actions stays on Xcode 16.x +- Android: raise the `com.mparticle:android-core` / `android-rokt-kit` dependency floor to `[5.79.2, 6.0)` (Expo plugin kit injection and bridge `android/build.gradle`), and bump the sample app to `5.79.2`. This guarantees consumers resolve a Rokt kit built against `com.rokt:roktsdk` `4.14.5`, which observes the Activity lifecycle from process start so overlay/bottom-sheet placements display even when `Rokt.init()` runs after the host Activity has resumed (deferred / late RN initialisation) ## [3.1.4] - 2026-06-05 diff --git a/android/build.gradle b/android/build.gradle index aa92bae..01f72d9 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -120,7 +120,7 @@ dependencies { // // Bounded upper bound prevents resolving to 6.0.0-rc.1+ on Maven Central. // 6.x removed deprecated symbols (e.g. UserAttributeListener); see #710. - api 'com.mparticle:android-core:[5.79.0, 6.0)' + api 'com.mparticle:android-core:[5.79.2, 6.0)' // // And, if you want to include kits, you can do so as follows: @@ -136,6 +136,6 @@ dependencies { testImplementation 'junit:junit:4.13.2' testImplementation files('libs/java-json.jar') - testImplementation 'com.mparticle:android-core:5.79.0' + testImplementation 'com.mparticle:android-core:5.79.2' testImplementation("com.facebook.react:react-android:+") } diff --git a/plugin/src/withMParticleAndroid.ts b/plugin/src/withMParticleAndroid.ts index 82bf3ef..fb399ca 100644 --- a/plugin/src/withMParticleAndroid.ts +++ b/plugin/src/withMParticleAndroid.ts @@ -385,7 +385,7 @@ const withMParticleAppBuildGradle: ConfigPlugin = ( // to a pre-release (e.g. 6.0.0-rc.1) and transitively drag the core past // the bridge's compiled-against API surface. const kitDependencies = props.androidKits - .map(kit => ` implementation "com.mparticle:${kit}:[5.79.0, 6.0)"`) + .map(kit => ` implementation "com.mparticle:${kit}:[5.79.2, 6.0)"`) .join('\n'); // Use mergeContents for idempotent injection diff --git a/sample/android/app/build.gradle b/sample/android/app/build.gradle index 410ec18..31b6574 100644 --- a/sample/android/app/build.gradle +++ b/sample/android/app/build.gradle @@ -110,8 +110,8 @@ android { dependencies { // The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android") - implementation("com.mparticle:android-core:5.79.0") - implementation("com.mparticle:android-rokt-kit:5.79.0") + implementation("com.mparticle:android-core:5.79.2") + implementation("com.mparticle:android-rokt-kit:5.79.2") if (hermesEnabled.toBoolean()) { implementation("com.facebook.react:hermes-android") From 5bdfcb863fcf9a67c62a98da1d3b57644c2c540e Mon Sep 17 00:00:00 2001 From: Nickolas Dimitrakas Date: Mon, 22 Jun 2026 16:28:31 -0400 Subject: [PATCH 2/2] docs(sample): align Android kit version in README with 5.79.2 pin Addresses review feedback: sample/README stated 5.79.0 while sample/android/app/build.gradle now pins android-core / android-rokt-kit to 5.79.2. --- sample/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/README.md b/sample/README.md index 383c7eb..c76fe77 100644 --- a/sample/README.md +++ b/sample/README.md @@ -67,7 +67,7 @@ pod install The sample Podfile pins `mParticle-Rokt` `~> 9.2`, **`Rokt-Widget` `5.2.0`**, and **`DcuiSchema` `2.7.0`**. Rokt’s pods allow `DcuiSchema` to float within `~> 2.6`; when CocoaPods resolves **2.8.0+**, the schema adds `image` styling that can desync from the `RoktUXHelper` sources in that widget line and break Swift compile (`StyleTransformer` / `BaseStyles`). Bump these pins together when you adopt a newer Rokt iOS stack. The sample Android app pins `com.mparticle:android-core` and -`com.mparticle:android-rokt-kit` to `5.79.0` so the Rokt session APIs and +`com.mparticle:android-rokt-kit` to `5.79.2` so the Rokt session APIs and Android CNAME support are available. Payment-extension installation and native URL callback forwarding are not configured in this release.