[Bug]: Raydium does not show a toast for MetaMask prior to connecting
Describe the bug
The first time visiting Raydium.io/swap on Phantom and Solflare, the site provides a toast indicating that the wallet is in a disconnected state. It's unclear if MetaMask is explicitly taking an approach to avoid fingerprinting. Otherwise, it's not clear why MetaMask is not handled the same way (toast informing the user that the wallet is in a disconnected state).
Expected behavior
Toast message on Raydium.io/swap should be similar to Phantom & Solflare
Screenshots/Recordings
Steps to reproduce
- Go to the in-app browser
- Open raydium.io/swap
Error messages or log output
Detection stage
On a feature branch
Version
7.46.99 (1901)
Build type
Other (please specify exactly where you obtained this build in "Additional Context" section)
Device
iPhone 16e
Operating system
iOS
Additional context
No response
Severity
No response
It looks like other sites like jup.ag also show a toast message when the dapp is not connected to the wallet, yet.
I'm not able to reproduce this issue. I tested with version 12.18.3 on desktop and 7.49.0 on mobile.
The wallet connected and wallet disconnected toasts were correctly displayed on my end
Tested on 7.49.0 on mobile, and I am able to confirm what @baptiste-marchand shared.
https://github.com/user-attachments/assets/4cba6ecb-ae1a-4853-b185-f37174f07235
Doesn't seem to be an issue on the current release.
To clarify, the issue is present in the latest 7.49.0 (1977) build when visiting raydium.io/swap and jup.ag the first time. (compare to the experience on Phantom or Solflare)
Closing this issue because it's not clear that the behavior difference is particularly problematic. Specifically for the disconnected state, we may not even want to automatically trigger such a notice.