chore(runway): cherry-pick fix: Prompt for biometric access on iOS during wallet creation -#26056
Merged
joaoloureirop merged 7 commits intorelease/7.65.0from Feb 13, 2026
Merged
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ieow
approved these changes
Feb 13, 2026
Contributor
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - base branch is not main (base: release/7.65.0) All E2E tests pre-selected. |
|
joaoloureirop
approved these changes
Feb 13, 2026
Collaborator
|
No release label on PR. Adding release label release-7.65.0 on PR, as PR was cherry-picked in branch 7.65.0. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Description
This PR addresses a regression on 7.65.0 where biometrics access is no
longer prompted on wallet creation for iOS. The change here adds that
back, which should result in a more intuitive user experience + makes it
consistent with Android. This is an improvement relative to the code
that was removed in
#24496 since we're now
detecting the auth type prior to the password being stored rather than
triggering two storage actions.
Changelog
CHANGELOG entry:
Related issues
Fixes: #25998
Manual testing steps
Allowing biometrics
Rejecting biometrics
use password
Screenshots/Recordings
Before
After
Allowing biometrics
ScreenRecording_02-12-2026.11-29-41_1.MP4
Rejecting biometrics
ScreenRecording_02-12-2026.11-45-59_1.MP4
Pre-merge author checklist
Docs and MetaMask Mobile
Coding
Standards.
if applicable
guidelines).
Not required for external contributors.
Pre-merge reviewer checklist
app, test code being changed).
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
Note
Medium Risk
Touches core wallet creation/import and credential storage logic, including new native biometric prompting on iOS and changes to fallback behavior; regressions could affect onboarding success or how passwords are stored/retrieved.
Overview
Restores an explicit iOS biometric access-control prompt during wallet creation/import by adding
Authentication.requestBiometricsAccessControlForIOS(backed byexpo-local-authentication) and using its result to downgrade from BIOMETRIC to PASSWORD when the user declines/cancels.Refactors auth persistence by removing
updateAuthTypeStorageFlags/storePasswordWithFallback, makingAuthentication.storePasswordpublic and adding an optionalfallbackToPasswordretry path; wallet creation/import and reset-password flows now callstorePassword(..., true)directly.Updates and expands unit tests to cover the new iOS prompt behavior and the revised
storePasswordfallback/flag logic, adds a Jest mock forexpo-local-authentication, and introduces theexpo-local-authenticationdependency (iOS pod + package).Written by Cursor Bugbot for commit 0f8b7e7. This will update automatically on new commits. Configure here.
ff37603