MetaMask / MetaMask/metamask-mobile

[Bug]: Browser - Address bar URL does not update path when DApp navigates (SPA routing)

Open
#29,397 1 comment 0 reactions 0 assignees View on GitHub
external-contributor needs-triage regression-prod-7.72.1 Sev2 size-S ta-ai-fixable ta-bot-triage ta-needs-triage team-mobile-platform type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

When navigating within a DApp that uses client-side/SPA routing in MetaMask Mobile's built-in browser, the address bar URL does not update to reflect the new path. The URL remains stuck at the initial path even after the DApp successfully navigates to a new route.

### Expected behavior

Expected behavior
The address bar should update from:
https://meyfi.meey.dev/portfolio
→ https://meyfi.meey.dev/portfolio/email-verify

### Screenshots/Recordings

https://github.com/user-attachments/assets/a90d402a-ac1a-48c7-b564-20657d8b747a

### Steps to reproduce

1. Open MetaMask Mobile → go to Browser tab
2. Navigate to https://meyfi.meey.dev/portfolio
3. Interact with the DApp to trigger an in-app navigation (the app navigates to /portfolio/email-verify)
4. Observe the URL in the MetaMask browser address bar

### Error messages or log output

```shell

```

### Where was this bug found?

Live version (from official store)

### Version

v7.72.1

### Build number

4333

### Build type

None

### Device

Android

### Operating system

Android

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the issue in the MetaMask Mobile Browser on Android using the reported DApp and trace how SPA route changes are reflected in the address bar; done when navigation from /portfolio to /portfolio/email-verify updates the displayed URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.