Skip to content

Commit bec0ee4

Browse files
chore(android): bump mParticle core/rokt-kit floor to 5.79.2 (carries roktsdk 4.14.5 deferred-init fix) (#344)
1 parent c5f6350 commit bec0ee4

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Fixed
1515

1616
- 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
17+
- 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)
1718

1819
## [3.1.4] - 2026-06-05
1920

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ dependencies {
120120
//
121121
// Bounded upper bound prevents resolving to 6.0.0-rc.1+ on Maven Central.
122122
// 6.x removed deprecated symbols (e.g. UserAttributeListener); see #710.
123-
api 'com.mparticle:android-core:[5.79.0, 6.0)'
123+
api 'com.mparticle:android-core:[5.79.2, 6.0)'
124124

125125
//
126126
// And, if you want to include kits, you can do so as follows:
@@ -136,6 +136,6 @@ dependencies {
136136
testImplementation 'junit:junit:4.13.2'
137137
testImplementation files('libs/java-json.jar')
138138

139-
testImplementation 'com.mparticle:android-core:5.79.0'
139+
testImplementation 'com.mparticle:android-core:5.79.2'
140140
testImplementation("com.facebook.react:react-android:+")
141141
}

plugin/src/withMParticleAndroid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ const withMParticleAppBuildGradle: ConfigPlugin<MParticlePluginProps> = (
385385
// to a pre-release (e.g. 6.0.0-rc.1) and transitively drag the core past
386386
// the bridge's compiled-against API surface.
387387
const kitDependencies = props.androidKits
388-
.map(kit => ` implementation "com.mparticle:${kit}:[5.79.0, 6.0)"`)
388+
.map(kit => ` implementation "com.mparticle:${kit}:[5.79.2, 6.0)"`)
389389
.join('\n');
390390

391391
// Use mergeContents for idempotent injection

sample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pod install
6767
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.
6868

6969
The sample Android app pins `com.mparticle:android-core` and
70-
`com.mparticle:android-rokt-kit` to `5.79.0` so the Rokt session APIs and
70+
`com.mparticle:android-rokt-kit` to `5.79.2` so the Rokt session APIs and
7171
Android CNAME support are available. Payment-extension installation and native
7272
URL callback forwarding are not configured in this release.
7373

sample/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ android {
110110
dependencies {
111111
// The version of react-native is set by the React Native Gradle Plugin
112112
implementation("com.facebook.react:react-android")
113-
implementation("com.mparticle:android-core:5.79.0")
114-
implementation("com.mparticle:android-rokt-kit:5.79.0")
113+
implementation("com.mparticle:android-core:5.79.2")
114+
implementation("com.mparticle:android-rokt-kit:5.79.2")
115115

116116
if (hermesEnabled.toBoolean()) {
117117
implementation("com.facebook.react:hermes-android")

0 commit comments

Comments
 (0)