chore(runway): cherry-pick fix: Remove userLoggedIn conditional for route definition#25658
Merged
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. |
Contributor
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - base branch is not main (base: release/7.64.0) All E2E tests pre-selected. |
joaoloureirop
approved these changes
Feb 4, 2026
|
Collaborator
|
No release label on PR. Adding release label release-7.64.0 on PR, as PR was cherry-picked in branch 7.64.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 removes the
userLoggedInconditional route definition in thenavigation stack, which resolves a race condition associated with the
re-rendering of the stack. It caused users to be stuck on the LockScreen
post manual lock.
Changelog
CHANGELOG entry:
Related issues
Fixes: #25560
Manual testing steps
Screenshots/Recordings
Before
ScreenRecording_02-02-2026.22-47-41_1.MP4
After
ScreenRecording_02-02-2026.22-47-01_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
Changes the root navigation stack so
HOME_NAVis always registered, which can affect navigation state and route resolution during lock/unlock/onboarding transitions. Low code churn, but touches core app routing so regressions would surface quickly at runtime.Overview
Removes the
selectUserLoggedIn-gated conditional that only registeredRoutes.ONBOARDING.HOME_NAVwhen the wallet was unlocked.AppFlownow always defines theHOME_NAVstack screen, preventing stack re-creation/race conditions that could leave users stuck onLockScreenafter a manual lock.Written by Cursor Bugbot for commit 78b9228. This will update automatically on new commits. Configure here.
2023252