Commit 9db4dbc
fix: bound android kit upper version in expo config plugin
The plugin emitted `implementation "com.mparticle:${kit}:+"` for each
androidKit. The unbounded `+` resolves to the newest version on Maven
Central (currently a 6.0.0-rc.1 pre-release), which transitively
requires `com.mparticle:android-core:6.0.0-rc.1` and overrides the
bridge's `[5.79.0, 6.0)` range on the app's runtime classpath. The
bridge AAR is compiled against the 5.x API surface, so several
referenced classes (e.g. `com.mparticle.rokt.RoktEmbeddedView`,
`com.mparticle.UserAttributeListener`, `com.mparticle.MpRoktEventCallback`)
are absent at runtime and the app crashes at launch with
NoClassDefFoundError.
Bound the kit dependency to the same `[5.79.0, 6.0)` range used for the
core SDK in android/build.gradle so the pair stays in lockstep on the
5.x line.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent cd3494d commit 9db4dbc
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
368 | 371 | | |
369 | | - | |
| 372 | + | |
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
| |||
0 commit comments