Repository navigation
fix(android): bump Auth0.Android to 3.21.1 for Keystore2 INCOMPATIBLE_DEVICE fix - #963
Merged
Merged
Conversation
utkrishtsahu
had a problem deploying
to
internal
October 14, 2026 03:37 — with
GitHub Actions
Failure
NandanPrabhu
approved these changes
Oct 14, 2026
utkrishtsahu
had a problem deploying
to
internal
October 14, 2026 05:32 — with
GitHub Actions
Failure
pmathew92
approved these changes
Oct 14, 2026
This was referenced Oct 23, 2026
Closed
Merged
Merged
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
3.21.0to3.21.1inauth0_flutter/android/build.gradle.Why: Auth0.Android
3.21.1fixes credential storage failing withINCOMPATIBLE_DEVICEon newer Keystore2 hardware (Android 16+, e.g. Pixel 10, Galaxy S26). The RSA key used bySecureCredentialsManagerwas generated without explicitly authorizing MGF1 digests, which the newer firmware strictly enforces, so saving credentials threw on those devices. Auth0.Android now authorizes both SHA-1 and SHA-256, and handles an existing stale key's MGF1 mismatch by recreating it.This plugin delegates credential storage to Auth0.Android, so apps using
auth0_flutteron affected devices hit the same failure until this dependency is bumped.No Dart or Kotlin source changes, and no public API changes.
References
🎯 Testing
Run locally
:auth0_flutter:assembleDebugbuilds againstcom.auth0.android:auth0:3.21.1.:auth0_flutter:testDebugUnitTest: all 362 Android unit tests pass (0 failures, 0 errors, 0 skipped).Summary by CodeRabbit