Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Please describe both what is changing and why this is important. Include:
Changes
Updates all SDK dependencies to their latest stable versions compatible with the current toolchain (AGP 8.8.2, compileSdk 35, Kotlin 2.0.21, Java 17).
Runtime dependency updates (build.gradle):
kotlinx-coroutines-core: 1.7.3 → 1.10.2
androidx.credentials: 1.3.0 → 1.5.0
androidx.core:core-ktx: 1.6.0 → 1.15.0
androidx.appcompat: 1.6.0 → 1.7.0
androidx.browser: 1.4.0 → 1.8.0
gson: 2.8.9 → 2.11.0 (2.13.x deferred — internal type renames, less conservative for an SDK)
androidbrowserhelper: 2.4.0 → 2.5.0
Test dependency updates:
mockito-core: 5.7.0 → 5.14.0
mockito-kotlin: 5.1.0 → 5.4.0
espresso-intents: 3.5.1 → 3.6.1
org.jacoco:org.jacoco.core classpath: 0.8.5 → 0.8.12 (matches existing toolVersion in jacoco.gradle)
Test fixes for Gson 2.11.0 compatibility:
bodyFromRequest helper changed from fun to inline fun in 3 test files to satisfy Gson 2.10+ TypeToken runtime validation
5 call sites changed from to where JSON body contains nested objects (Gson 2.10+ no longer silently coerces objects to String)
References
Please include relevant links supporting this change such as a:
https://auth0team.atlassian.net/jira/software/c/projects/SDK/boards/2607?assignee=712020%3A746f4583-dada-45dc-8f76-07f273104490&selectedIssue=SDK-7723
Testing
Build Passed
Unit Test Passed
Checklist
I have read the Auth0 general contribution guidelines
I have read the Auth0 Code of Conduct
All existing and new tests complete without errors