Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/reusable-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: android-actions/setup-android@v3
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.7"
gradle-version: "8.10.1"
add-job-summary: on-failure
add-job-summary-as-pr-comment: on-failure
- name: Run Lint
Expand Down Expand Up @@ -79,8 +79,8 @@ jobs:
if: success() || failure()
env:
# Most used according to https://gs.statcounter.com/android-version-market-share/mobile-tablet/worldwide
PR_API_VERSION: "34"
FULL_API_RANGE: "28 29 30 31 32 33 34 35"
PR_API_VERSION: "35"
FULL_API_RANGE: "28 29 30 31 32 33 34 35 36"
IS_PR: ${{ inputs.is_pr }}
run: |
LEVELS_TO_TEST=$FULL_API_RANGE
Expand Down Expand Up @@ -114,8 +114,8 @@ jobs:
if: success() || failure()
env:
# Most used according to https://gs.statcounter.com/android-version-market-share/mobile-tablet/worldwide
PR_API_VERSION: "34"
FULL_API_RANGE: "28 29 30 31 32 33 34 35"
PR_API_VERSION: "35"
FULL_API_RANGE: "28 29 30 31 32 33 34 35 36"
IS_PR: ${{ inputs.is_pr }}
run: |
LEVELS_TO_TEST=$FULL_API_RANGE
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
classpath("com.android.tools.build:gradle:8.10.1")
classpath("io.github.gradle-nexus:publish-plugin:2.0.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24")
classpath("org.jacoco:org.jacoco.core:0.8.12")
classpath("org.jacoco:org.jacoco.core:0.8.13")
}
}

Expand Down
6 changes: 3 additions & 3 deletions hybrid/HybridSampleApps/AccountEditor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ plugins {

dependencies {
api(project(":libs:SalesforceHybrid"))
implementation("androidx.core:core-ktx:1.16.0")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk
}

android {
namespace = "com.salesforce.samples.accounteditor"

compileSdk = 35
compileSdk = 36

defaultConfig {
targetSdk = 35
targetSdk = 36
minSdk = 28
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ plugins {

dependencies {
api(project(":libs:SalesforceHybrid"))
implementation("androidx.core:core-ktx:1.16.0")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk
}

android {
namespace = "com.salesforce.samples.mobilesyncexplorerhybrid"

compileSdk = 35
compileSdk = 36

defaultConfig {
targetSdk = 35
targetSdk = 36
minSdk = 28
}

Expand Down
9 changes: 5 additions & 4 deletions libs/MobileSync/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ dependencies {
api(project(":libs:SmartStore"))
api("androidx.appcompat:appcompat:1.7.1")
api("androidx.appcompat:appcompat-resources:1.7.1")
implementation("androidx.core:core-ktx:1.16.0")
androidTestImplementation("androidx.test:runner:1.6.2")
androidTestImplementation("androidx.test:rules:1.6.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.core:core-ktx than 1.16.0 is available: 1.17.0

androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.ext:junit:1.3.0")
}

android {
namespace = "com.salesforce.androidsdk.mobilesync"
testNamespace = "com.salesforce.androidsdk.mobilesync.tests"

//noinspection GradleDependency - Will be upgraded to 36 in Mobile SDK 14.0
compileSdk = 35

defaultConfig {
Expand Down
9 changes: 5 additions & 4 deletions libs/SalesforceAnalytics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ plugins {
dependencies {
api("com.squareup:tape:1.2.3")
api("io.github.pilgr:paperdb:2.7.2")
implementation("androidx.core:core-ktx:1.16.0")
androidTestImplementation("androidx.test:runner:1.6.2")
androidTestImplementation("androidx.test:rules:1.6.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.core:core-ktx than 1.16.0 is available: 1.17.0

androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.ext:junit:1.3.0")
}

android {
namespace = "com.salesforce.androidsdk.analytics"
testNamespace = "com.salesforce.androidsdk.analytics.tests"

//noinspection GradleDependency - Will be upgraded to 36 in Mobile SDK 14.0
compileSdk = 35

defaultConfig {
Expand Down
9 changes: 5 additions & 4 deletions libs/SalesforceHybrid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ dependencies {
api("androidx.appcompat:appcompat-resources:1.7.1")
api("androidx.webkit:webkit:1.14.0")
api("androidx.core:core-splashscreen:1.0.1")
implementation("androidx.core:core-ktx:1.16.0")
androidTestImplementation("androidx.test:runner:1.6.2")
androidTestImplementation("androidx.test:rules:1.6.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.core:core-ktx than 1.16.0 is available: 1.17.0

androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.ext:junit:1.3.0")
}

android {
namespace = "com.salesforce.androidsdk.hybrid"
testNamespace = "com.salesforce.androidsdk.phonegap"

//noinspection GradleDependency - Will be upgraded to 36 in Mobile SDK 14.0
compileSdk = 35

defaultConfig {
Expand Down
9 changes: 5 additions & 4 deletions libs/SalesforceReact/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ plugins {
dependencies {
api(project(":libs:MobileSync"))
api("com.facebook.react:react-android:0.79.3")
implementation("androidx.core:core-ktx:1.16.0")
androidTestImplementation("androidx.test:runner:1.6.2")
androidTestImplementation("androidx.test:rules:1.6.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.core:core-ktx than 1.16.0 is available: 1.17.0

androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.ext:junit:1.3.0")
androidTestImplementation("androidx.test.uiautomator:uiautomator:2.3.0")

// JSC from node_modules
Expand All @@ -42,6 +42,7 @@ android {
namespace = "com.salesforce.androidsdk.reactnative"
testNamespace = "com.salesforce.androidsdk.reactnative.tests"

//noinspection GradleDependency - Will be upgraded to 36 in Mobile SDK 14.0
compileSdk = 35

defaultConfig {
Expand Down
25 changes: 13 additions & 12 deletions libs/SalesforceSDK/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ plugins {
}

dependencies {
val composeVersion = "1.8.2"
val composeVersion = "1.8.2" // Update requires Kotlin 2.
val livecycleVersion = "2.8.7" // Update requires Kotlin 2.
val androidXActivityVersion = "1.10.1"

api(project(":libs:SalesforceAnalytics"))
api("com.squareup.okhttp3:okhttp:4.12.0")
api("com.google.firebase:firebase-messaging:24.1.1")
api("androidx.core:core:1.16.0")
api("androidx.browser:browser:1.8.0")
api("androidx.work:work-runtime-ktx:2.10.1")
api("com.google.firebase:firebase-messaging:25.0.0")
api("androidx.core:core:1.16.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.core:core than 1.16.0 is available: 1.17.0

api("androidx.browser:browser:1.8.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.browser:browser than 1.8.0 is available: 1.9.0

api("androidx.work:work-runtime-ktx:2.10.3")

implementation("com.google.android.material:material:1.12.0") // remove this when all xml is gone
implementation("com.google.android.material:material:1.13.0") // remove this when all xml is gone
implementation("androidx.appcompat:appcompat:1.7.1")
implementation("androidx.biometric:biometric:1.2.0-alpha05")
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
implementation("androidx.core:core-ktx:1.16.0")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.core:core-ktx than 1.16.0 is available: 1.17.0

implementation("androidx.activity:activity-ktx:$androidXActivityVersion")
implementation("androidx.activity:activity-compose:$androidXActivityVersion")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:$livecycleVersion")

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.lifecycle:lifecycle-viewmodel-ktx than 2.8.7 is available: 2.9.3

Expand All @@ -37,7 +37,7 @@ dependencies {
implementation("androidx.window:window:1.4.0")
implementation("androidx.window:window-core:1.4.0")
implementation("androidx.compose.material3:material3-android:1.3.2")
implementation(platform("androidx.compose:compose-bom:2025.06.00"))
implementation(platform("androidx.compose:compose-bom:2025.07.00")) // Update requires Kotlin 2.

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.08.01

implementation("androidx.compose.foundation:foundation-android:$composeVersion")

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.foundation:foundation-android than 1.8.2 is available: 1.9.0

implementation("androidx.compose.runtime:runtime-livedata:$composeVersion")

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.runtime:runtime-livedata than 1.8.2 is available: 1.9.0

implementation("androidx.compose.ui:ui-tooling-preview-android:$composeVersion")

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.ui:ui-tooling-preview-android than 1.8.2 is available: 1.9.0

Expand All @@ -46,18 +46,19 @@ dependencies {
debugImplementation("androidx.compose.ui:ui-tooling:$composeVersion")

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.ui:ui-tooling than 1.8.2 is available: 1.9.0

debugImplementation("androidx.compose.ui:ui-test-manifest:$composeVersion")

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.ui:ui-test-manifest than 1.8.2 is available: 1.9.0


androidTestImplementation("androidx.test:runner:1.6.2")
androidTestImplementation("androidx.test:rules:1.6.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.ext:junit:1.3.0")
androidTestImplementation("androidx.arch.core:core-testing:2.2.0")
androidTestImplementation("androidx.compose.ui:ui-test-junit4:$composeVersion")

@github-actions github-actions Bot Sep 6, 2025

Copy link
Copy Markdown

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.ui:ui-test-junit4 than 1.8.2 is available: 1.9.0

androidTestImplementation("io.mockk:mockk-android:1.14.0")
androidTestImplementation("io.mockk:mockk-android:1.14.0") // Update requires Kotlin 2
}

android {
namespace = "com.salesforce.androidsdk"
testNamespace = "com.salesforce.androidsdk.tests"

//noinspection GradleDependency - Will be upgraded to 36 in Mobile SDK 14.0
compileSdk = 35

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ import androidx.compose.ui.focus.FocusRequester
import androidx.compose.ui.focus.focusRequester
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.graphics.asImageBitmap
import androidx.compose.ui.graphics.painter.BitmapPainter
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.semantics.contentDescription
Expand Down Expand Up @@ -393,13 +395,11 @@ internal fun PickerBottomSheet(
if (listItem is UserAccount) {
UserAccountListItem(
displayName = listItem.displayName,
loginServer = listItem.loginServer,
loginServer = listItem.communityUrl ?: listItem.instanceServer,
selected = selected,
onItemSelected = { onItemSelected(listItem, true) },
profilePhoto = listItem.profilePhoto?.let {
painterResource(
it.generationId
)
profilePhoto = listItem.profilePhoto?.let { bitmap ->
BitmapPainter(bitmap.asImageBitmap())
},
)
/*
Expand All @@ -413,10 +413,8 @@ internal fun PickerBottomSheet(
loginServer = listItem.loginServer,
selected = selected,
onItemSelected = { onItemSelected(listItem, true) },
profilePhoto = listItem.profilePhoto?.let {
painterResource(
it.generationId
)
profilePhoto = listItem.profilePhoto?.let { bitmap ->
BitmapPainter(bitmap.asImageBitmap())
},
)
}
Expand Down
12 changes: 6 additions & 6 deletions libs/SmartStore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ dependencies {
//noinspection GradleDependency - Needs to line up with supported SQLCipher version.
api("androidx.sqlite:sqlite:2.2.0")
api("net.zetetic:sqlcipher-android:4.10.0")
implementation("androidx.core:core-ktx:1.16.0")
androidTestImplementation("androidx.test:runner:1.6.2")
androidTestImplementation("androidx.test:rules:1.6.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk

@github-actions github-actions Bot Sep 8, 2025

Copy link
Copy Markdown

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.core:core-ktx than 1.16.0 is available: 1.17.0

androidTestImplementation("androidx.test:runner:1.7.0")
androidTestImplementation("androidx.test:rules:1.7.0")
androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
androidTestImplementation("androidx.test.ext:junit:1.3.0")
androidTestImplementation("androidx.test.uiautomator:uiautomator:2.3.0")
implementation("com.google.android.material:material:1.12.0")
implementation("com.google.android.material:material:1.13.0")
}

android {
Expand Down
6 changes: 3 additions & 3 deletions native/NativeSampleApps/AppConfigurator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ plugins {

dependencies {
api(project(":libs:SalesforceSDK"))
implementation("androidx.core:core-ktx:1.16.0")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk
}

android {
namespace = "com.salesforce.samples.appconfigurator"

compileSdk = 35
compileSdk = 36

defaultConfig {
targetSdk = 35
targetSdk = 36
minSdk = 28
}

Expand Down
6 changes: 3 additions & 3 deletions native/NativeSampleApps/ConfiguredApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ dependencies {
api(project(":libs:SalesforceSDK"))
implementation("androidx.appcompat:appcompat:1.7.1")
implementation("androidx.appcompat:appcompat-resources:1.7.1")
implementation("androidx.core:core-ktx:1.16.0")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk
}

android {
namespace = "com.salesforce.samples.configuredapp"

compileSdk = 35
compileSdk = 36

defaultConfig {
targetSdk = 35
targetSdk = 36
minSdk = 28
}

Expand Down
10 changes: 5 additions & 5 deletions native/NativeSampleApps/RestExplorer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ plugins {

dependencies {
implementation(project(":libs:SalesforceSDK"))
implementation("androidx.core:core-ktx:1.16.0")
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk
implementation("androidx.tracing:tracing:1.3.0")
implementation("com.google.android.material:material:1.12.0")
implementation("com.google.android.material:material:1.13.0")
androidTestImplementation("androidx.test:runner:1.5.1") {
exclude("com.android.support", "support-annotations")
}
Expand All @@ -21,18 +21,18 @@ dependencies {
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0") {
exclude("com.android.support", "support-annotations")
}
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.ext:junit:1.3.0")
androidTestImplementation("androidx.test.uiautomator:uiautomator:2.3.0")
}

android {
namespace = "com.salesforce.samples.restexplorer"
testNamespace = "com.salesforce.samples.restexplorer.tests"

compileSdk = 35
compileSdk = 36

defaultConfig {
targetSdk = 35
targetSdk = 36
minSdk = 28
}

Expand Down
Loading