Skip to content

fix(android): bump Auth0.Android to 3.21.1 for Keystore2 INCOMPATIBL_DEVICE fix - #1677

Merged
utkrishtsahu merged 1 commit into
masterfrom
fix/android-bump-auth0-3.21.1
Oct 14, 2026
Merged

utkrishtsahu merged 1 commit into
masterfrom
fix/android-bump-auth0-3.21.1

Conversation

@utkrishtsahu

Copy link
Copy Markdown
Contributor

Changes

Bumps the bundled Auth0.Android dependency from `3.21.0` to `3.21.1` in `android/build.gradle`.

That release fixes credential storage failing with `INCOMPATIBLE_DEVICE` on newer Keystore2 hardware (Pixel 10, Galaxy S26, Android 16+). The RSA key used by `SecureCredentialsManager` was generated without explicitly authorizing MGF1 digests, which the newer firmware strictly enforces. Auth0.Android now authorizes both SHA-1 and SHA-256 and recreates a stale key on mismatch.

Nothing changes in this SDK's public API. This GA version replaces the `3.21.1-beta.0` pin from #1642, which only landed on the `v5.11.0-release` branch and not on `master`.

References

Testing

  • `yarn typecheck` clean, `yarn lint` 0 errors, `yarn test` 728 tests pass.

@utkrishtsahu
utkrishtsahu requested a review from a team as a code owner October 14, 2026 04:26
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: auth0/react-native-auth0/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1565536a-d895-4ee2-a356-9f27da6981ba
📥 Commits

Reviewing files that changed from the base of the PR and between 7069a2b and ba480bf.

📒 Files selected for processing: 1
  • android/build.gradle

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Chores
    • This update includes no changes to app features or behavior visible to end users. No new capabilities, interface updates, or bug fixes are included in this release. The update is limited to internal maintenance, so there are no specific actions or changes for users to expect.

The Android build updates its Auth0 Android implementation dependency from version 3.21.0 to 3.21.1.

Changes: Android dependency update

Layer / File(s) Summary
Update Auth0 Android dependency
android/build.gradle
The declared Auth0 Android implementation dependency changes from version 3.21.0 to 3.21.1.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Bug fix

Suggested reviewers: subhankarmaiti

Merge Risk: ⚪ Minimal · up to ba480

The Android SDK patch update preserves the inspected MFA listing and enrollment behavior. No user-facing regression or actionable merge-blocking risk is established.

### Architecture Summary

Architecture risk: 🔵 Low · up to ba480

The change affects 1 system.

Changed systems: android

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — android (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in android/build.gradle: The Auth0 Android implementation dependency is updated from version 3.21.0 to 3.21.1.
Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Title check Passed The title clearly identifies the Android dependency update to Auth0.Android 3.21.1 and the Keystore2 compatibility fix. It is specific and relevant despite a minor typo in "INCOMPATIBL_DEVICE."
Description check Passed The description directly explains the dependency update, the Keystore2 compatibility issue, the affected versions, references, and test results. It is relevant to the changeset.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@utkrishtsahu
utkrishtsahu merged commit ff614fa into master Oct 14, 2026
5 checks passed
@utkrishtsahu
utkrishtsahu deleted the fix/android-bump-auth0-3.21.1 branch October 14, 2026 06:25
@utkrishtsahu utkrishtsahu mentioned this pull request Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants