MetaMask / MetaMask/metamask-mobile

[Bug]: Connect account modal showing incorrect icon and dapp URL in top banner

Open
#11,638 3 comments 0 reactions 0 assignees View on GitHub
regression-prod-7.33.0 Sev2-normal stale team-sdk-deprecated type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

When I tap to connect wallet to dapp the connect account modal shows incorrect dapp icon and URL.

This is occurring for other dapps when attempting to connect wallet.
This is also showing in production 7.31.0.

### Expected behavior

- should show appropriate dapp icon and url in banner

### Screenshots/Recordings

https://github.com/user-attachments/assets/8348707f-fc4e-49c1-a0d2-dff00e0f1811

### Steps to reproduce

GIVEN I am on opensea.io using in-app browser
WHEN I tap Login
THEN Connect account modal is displayed
AND opensea icon is displayed in top banner (FAILED: incorrect icon is displayed; cache icon?)
AND opensea url is displayed in top banner (FAILED: incorrect url is shown)

### Error messages or log output

_No response_

### Detection stage

In production (default)

### Version

7.33.0

### Build type

None

### Device

Any

### Operating system

iOS, Android

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the connect account modal on opensea.io in the in-app browser on iOS or Android. Trace how the modal's top banner receives the dapp icon and URL, then verify that the displayed values match the current dapp rather than cached data.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.