[bug] Metamask Issue in IOS Redirection Issue after connect or Sign & Switch Network Doesnt work on mobile
yashsisodiya opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
RainbowKit Version
2.0.1
wagmi Version
2.5.7
Current Behavior
- Connect your wallet with Metamask.
- After a successful connection, Metamask doesn't redirect me back to the web, I need go back to the web manually.
- Once I go back to the web page, the signer will be created. However, it may doesn't automatically redirect to Metamask.
- To complete the process, I need to open Metamask manually and sign the transaction. andagain, it doesn't redirect me back to the web automatically.
and Also If the chain is not configured in Metamask it doesn't handle add or switch network process which works fine in Desktop Environment it directly gives error that chain is not configured
Expected Behavior
- Connect your wallet with Metamask.
- After a successful connection, Metamask should redirect me back to the web.
- Once I go back to the web page, the signer will be created. it should automatically redirect to Metamask.
- And Once I Sign it should redirect me back to the web automatically.
Steps To Reproduce
Click and Connect Wallet and do rest Process
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
Anything else?
No response
@yashsisodiya This is an expected behavior and something that's out of our control. On mobile we use WalletConnect to connect via MetaMask and they have some unexpected UX behaviors since it's a single chain wallet. You'll have to manually go back and fourth, but this should be fixed in the future and that's something which MetaMask and WalletConnect team is looking at right now.
Let me know if this makes sense 🙏
What about the redirection issue in IOS @magiziz
@yashsisodiya Same thing. WalletConnect and MetaMask team is working on fixing this 🙏
any news?