-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Connecting wallet on mobile not working #1262
Comments
@sniper365 Which wallet did you try to connect to on mobile? Can you share a video or screenshot of the behavior you're seeing? |
Shouldn't be a WalletConnect issue. Are you referring to MetaMask Mobile or the MetaMask Desktop Extension? Was unable to replicate the issue on mobile after opening MetaMask, scanning a WalletConnect QR Code, and confirming the connection. I was also able to successfully use the in-app MetaMask browser to navigate to a RainbowKit dApp and connect the injected provider. |
yeah.. as I said I meant Metamask mobile app. So you would find any issue in my code? |
@sniper365 Can you confirm what you mean here? Are you attempting to connect to the dApp with MetaMask Mobile via the QR Code scanner, or are you using the mobile web browser to MetaMask Mobile deep link flow? |
If you use this hosted version of the Create React App example, do you run into the same issue? https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-create-react-app |
Well, maybe yes for https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-create-react-app I understand you what you mean. I already installed metamask app in my mobile so there is no pop-up for scan QR to get metamask app. Instead I leave my dApp and came to my metamask app and can login. But my issue is that after login there is no pop up confirm modal This screenshot is from below example. |
I see. It looks like you slightly misconfigured Wagmi; the syntax changed with Wagmi v1. The new const wagmiConfig = createConfig({
autoConnect: true,
connectors,
publicClient,
webSocketPublicClient,
}); The <WagmiConfig config={wagmiConfig}>
<RainbowKitProvider chains={chains}>
<App />
</RainbowKitProvider>
</WagmiConfig> |
Hey @DanielSinclair You sure this example is working? On my side it's not working on mobile.. |
Yes, the example is working for me on mobile. Can you share a video of what you're experiencing, or describe what is missing? |
Ok.. I will try again and will let you now asap... thanks in advance |
Connect confirm modal Still not pop up. so I can't connect. Here are my updated configuration
No need custom wallet list part? https://www.rainbowkit.com/docs/custom-wallet-list
What am I wrong? |
The Custom Wallet List isn't required, correct. Can you share a reproducible example of your implementation? I wasn't able to replicate on the with-create-react-app example on MetaMask Mobile on Android. This is possibly an issue with your network. If you have a firewall or VPN active, I'd suggest disabling and testing again. |
By the way this example working on my side... But your example - https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-create-react-app and my dApp not working.. how to explain? |
I compared dydx.exchange and my dApp. |
Hi @DanielSinclair |
Hi @DanielSinclair |
@sniper365 Can you share a CodeSandbox example? Unable to reproduce an issue. |
@DanielSinclair Have you had a chance to check my sandbox? |
This example doesn't apply to me either. My MetaMask app version is v6.3.0, and it was working fine before I updated the app. |
@foooooouny What device are you using? What does your test path look like? It sounds like MetaMask introduced an issue on their end. The wallets are currently undergoing an upgrade to WalletConnect v2, so it is very likely issues are appearing. |
@DanielSinclair iPhone 11 pro, iOS version 16.4.1. |
@DanielSinclair Another question: How can I enable redirection to the wallet app's dapp deeplink when connecting from a browser outside of the wallet, rather than using WalletConnect to establish the connection? |
@foooooouny I'm not sure I understand the question. RainbowKit supports injected providers (like a wallet's in-app browser or a browser extension) and WalletConnect. |
@DanielSinclair @foooooouny Did you find the solution for this issue? |
@DanielSinclair @foooooouny Please help me about this issue. I have still issue. Do I have to use injected provider?
|
@sniper365 hey, did you manage to solve this issue? Reading all comments I saw this comment #1262 (comment) and I'm facing the same issue. 🤔 @DanielSinclair can we assume that the newest rainbowkit version is broken? I'm a little bit lost 😞 |
The problem seems to be bigger than I thought because even their site is not working well https://www.rainbowkit.com |
Hey @adrianotadao |
@adrianotadao What issue are you seeing on rainbowkit.com? |
@DanielSinclair Metamask doesn't do anything when you try to connect to rainbowkit.com using an iPhone. Is it working for you? |
Experiencing the same Issue...I'm using polyfills, and I have Rainbowkit in several app, to make it work on IPhone I need to downgrade Rainbowkit |
@adrianotadao There is currently a known issue with MetaMask's WalletConnect support. We are told an update is coming imminently to resolve this on their end. MetaMask/metamask-mobile#6457 |
nice! Thank you @DanielSinclair! |
@DanielSinclair did they say something about this bug? any good news?! 😄 |
Is there an existing issue for this?
RainbowKit Version
1.0.0
wagmi Version
1.0.5
Current Behavior
I tried to follow the example https://github.com/rainbow-me/rainbowkit/tree/main/examples/with-create-react-app
With latest versions...
Web browser is working. but on mobile...
So I tried with on this example https://codesandbox.io/s/rainbowkit-create-typescript-app-xuxnqy?ref=morioh.com&utm_source=morioh.com&file=/src/App.tsx:822-840 ( wagmi-v0.5.9 rainbow-v0.4.2) .
It's working on this itself. So copied on my dApp.. But it's not working as well.
What am I wrong?
The text was updated successfully, but these errors were encountered: