react-native-mparticle 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -118,7 +118,9 @@ dependencies {
|
|
|
118
118
|
//
|
|
119
119
|
// (See https://github.com/mparticle/mparticle-android-sdk for the latest version)
|
|
120
120
|
//
|
|
121
|
-
|
|
121
|
+
// Bounded upper bound prevents resolving to 6.0.0-rc.1+ on Maven Central.
|
|
122
|
+
// 6.x removed deprecated symbols (e.g. UserAttributeListener); see #710.
|
|
123
|
+
api 'com.mparticle:android-core:[5.79.0, 6.0)'
|
|
122
124
|
|
|
123
125
|
//
|
|
124
126
|
// And, if you want to include kits, you can do so as follows:
|
package/package.json
CHANGED
|
@@ -267,9 +267,12 @@ const withMParticleAppBuildGradle = (config, props) => {
|
|
|
267
267
|
return config;
|
|
268
268
|
}
|
|
269
269
|
// Generate kit dependency lines
|
|
270
|
-
//
|
|
270
|
+
// Bounded range matches the core SDK range in android/build.gradle so the
|
|
271
|
+
// kit and core stay paired on a 5.x line. An unbounded `+` would resolve
|
|
272
|
+
// to a pre-release (e.g. 6.0.0-rc.1) and transitively drag the core past
|
|
273
|
+
// the bridge's compiled-against API surface.
|
|
271
274
|
const kitDependencies = props.androidKits
|
|
272
|
-
.map(kit => ` implementation "com.mparticle:${kit}
|
|
275
|
+
.map(kit => ` implementation "com.mparticle:${kit}:[5.79.0, 6.0)"`)
|
|
273
276
|
.join('\n');
|
|
274
277
|
// Use mergeContents for idempotent injection
|
|
275
278
|
const withKits = (0, generateCode_1.mergeContents)({
|
|
@@ -364,9 +364,12 @@ const withMParticleAppBuildGradle: ConfigPlugin<MParticlePluginProps> = (
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
// Generate kit dependency lines
|
|
367
|
-
//
|
|
367
|
+
// Bounded range matches the core SDK range in android/build.gradle so the
|
|
368
|
+
// kit and core stay paired on a 5.x line. An unbounded `+` would resolve
|
|
369
|
+
// to a pre-release (e.g. 6.0.0-rc.1) and transitively drag the core past
|
|
370
|
+
// the bridge's compiled-against API surface.
|
|
368
371
|
const kitDependencies = props.androidKits
|
|
369
|
-
.map(kit => ` implementation "com.mparticle:${kit}
|
|
372
|
+
.map(kit => ` implementation "com.mparticle:${kit}:[5.79.0, 6.0)"`)
|
|
370
373
|
.join('\n');
|
|
371
374
|
|
|
372
375
|
// Use mergeContents for idempotent injection
|