WalletConnectModalFlutter icon indicating copy to clipboard operation
WalletConnectModalFlutter copied to clipboard

Deeplink not working

Open developeranshul1986 opened this issue 2 years ago • 5 comments

After updating to the latest version 2.1.0 the deeplink not working. If I change back to the 1.2.4 it works.

Also when I ran the demo from git it gave the below error.

#0 WalletConnectModalService._awaitConnectResponse (package:walletconnect_modal_flutter/services/walletconnect_modal/walletconnect_modal_service.dart:524:25) I/flutter (14256): │ #1 I/flutter (14256): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (14256): │ ⛔ Error connecting to wallet: JsonRpcError(code: null, message: null)

developeranshul1986 avatar Aug 20 '23 04:08 developeranshul1986

Which deeplink? Connection or sign request? Which wallet?

Luzzotica avatar Aug 21 '23 19:08 Luzzotica

Version 2.1.0, when you click on the modalconnect button it open the selected wallet like meta but it not returns to the app, while the 1.2.4 with the same code it is working.

developeranshul1986 avatar Aug 22 '23 03:08 developeranshul1986

for me, Metamask opens but does not show the connect prompt on iOS. On Android, it's working. I checked my setup in info.plist and I am not missing anything. @Luzzotica any advice here?

Hozefa04 avatar Aug 24 '23 15:08 Hozefa04

Do you experience the issue with my example dApp? If you can provide a video I would appreciate it.

I know Rainbow wallet has issues receiving requests. I know MetaMask will "fail" to receive the request if it isn't on the right chain (really misleading). Maybe that's the issue you're facing?

Luzzotica avatar Aug 30 '23 22:08 Luzzotica

@Luzzotica thanks for the reply. A weird thing happened to me. Apparently, Metamask just doesn't work on my iOS device. It does not show me the connect prompt for some reason. I tested it with the other two iOS devices and it works fine on those. I don't know what is causing the issue. I tried uninstalling Metamask, re-installing it again and creating a fresh new account but still the same. But we can say there are no issues with the SDK in terms of this particular issue. it's just my phone acting weird.

Hozefa04 avatar Aug 31 '23 04:08 Hozefa04