Skip to content

Conversation

@Tyschenko
Copy link

Issue: MetaMask/metamask-mobile#16690

Visiting Raydium.io/swap in the in-app browser triggers a dialog that says "Do you want to download File.bin?"
This does not happen when visiting the same site on Phantom's in-app browser.

This happens because this Dapp on opening initiates blob: file downloading. To prevent it we check if the blob url is coming from click.

Simulator.Screen.Recording.-.iPhone.16.Plus.-.2025-06-29.at.22.48.15.mp4

…s. We ignore them and handle only urls which were received on clicks on Link (based on navigationType field)
@Tyschenko Tyschenko added the bug Something isn't working label Jun 29, 2025
@Tyschenko Tyschenko mentioned this pull request Jun 29, 2025
Copy link

@sethkfman sethkfman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tyschenko Tyschenko merged commit b0cb287 into main Jun 30, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants