From ebec47080c8a10cbb480441190c33c62e0575151 Mon Sep 17 00:00:00 2001 From: James Newman Date: Wed, 27 May 2026 15:44:03 -0400 Subject: [PATCH] fix: pin android-core upper bound to prevent 6.0.0-rc.1 pull (#710) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The open-ended `[5.79.0, )` range resolves to the highest available version on Maven Central — which is now `6.0.0-rc.1` (published 2026-05-22). 6.x removed deprecated symbols including `com.mparticle.UserAttributeListener`, breaking this module's compile. Fixes #710. Consumers who built successfully before 2026-05-22 are now broken without any change on their side; this pin restores them. Closes mParticle/mparticle-android-sdk#710 Co-Authored-By: Claude Opus 4.7 (1M context) --- android/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 9d042b9..aa92bae 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -118,7 +118,9 @@ dependencies { // // (See https://github.com/mparticle/mparticle-android-sdk for the latest version) // - api 'com.mparticle:android-core:[5.79.0, )' + // 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)' // // And, if you want to include kits, you can do so as follows: