Skip to content

Conversation

@npars
Copy link
Contributor

@npars npars commented Sep 24, 2025

Tidy up dependency declaration to use the compose versions from the BOM.

We noticed that the versions were declared separately which increased risk of misalignment for consumers. This is especially important because SalesforceMobileSDK uses Compose APIs marked with ExperimentalMaterial3Api which may not be compatible across library releases. A mismatch in library versions may result in a runtime crash.

@github-actions
Copy link

11 Warnings
⚠️ libs/SalesforceSDK/build.gradle.kts#L19 - A newer version of com.google.firebase:firebase-messaging than 25.0.0 is available: 25.0.1
⚠️ libs/SalesforceSDK/build.gradle.kts#L20 - A newer version of androidx.core:core than 1.16.0 is available: 1.17.0
⚠️ libs/SalesforceSDK/build.gradle.kts#L21 - A newer version of androidx.browser:browser than 1.8.0 is available: 1.9.0
⚠️ libs/SalesforceSDK/build.gradle.kts#L22 - A newer version of androidx.work:work-runtime-ktx than 2.10.3 is available: 2.10.4
⚠️ libs/SalesforceSDK/build.gradle.kts#L28 - A newer version of androidx.core:core-ktx than 1.16.0 is available: 1.17.0
⚠️ libs/SalesforceSDK/build.gradle.kts#L29 - A newer version of androidx.activity:activity-ktx than 1.10.1 is available: 1.11.0
⚠️ libs/SalesforceSDK/build.gradle.kts#L30 - A newer version of androidx.activity:activity-compose than 1.10.1 is available: 1.11.0
⚠️ libs/SalesforceSDK/build.gradle.kts#L31 - A newer version of androidx.lifecycle:lifecycle-viewmodel-ktx than 2.8.7 is available: 2.9.4
⚠️ libs/SalesforceSDK/build.gradle.kts#L32 - A newer version of androidx.lifecycle:lifecycle-viewmodel-compose than 2.8.7 is available: 2.9.4
⚠️ libs/SalesforceSDK/build.gradle.kts#L33 - A newer version of androidx.lifecycle:lifecycle-viewmodel-savedstate than 2.8.7 is available: 2.9.4
⚠️ libs/SalesforceSDK/build.gradle.kts#L34 - A newer version of androidx.lifecycle:lifecycle-service than 2.8.7 is available: 2.9.4

Generated by 🚫 Danger

implementation("androidx.window:window-core:1.4.0")
implementation("androidx.compose.material3:material3-android:1.3.2")
implementation("androidx.compose.material3:material3-android")
implementation(platform("androidx.compose:compose-bom:2025.07.00")) // Update requires Kotlin 2.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ A newer version of androidx.compose:compose-bom than 2025.07.00 is available: 2025.09.00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant