-
Notifications
You must be signed in to change notification settings - Fork 196
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] Connector Deeplinks are not working #379
Comments
Is this library still being maintained @lochie? If you're accepting PRs we can help but not receiving any reply in the past few weeks makes it feels abandoned. |
hey @eduardopelitti, yes we are accepting PRs! ive just been on some other projects and havent had dedicated time for updates here so i apologise for being MIA |
Hi guys, as mentioned on @eduardopelitti opening comment, the issue can be found on this line https://github.com/family/connectkit/blob/main/packages/connectkit/src/components/Common/ConnectorList/index.tsx#L91 When I couldn't find a prop inside the if not, I think adding a new property on the |
@aschenkel sounds like this could become more complicated if there's a wallet that has both desktop deeplinking and also requiring a QR code option, which at that point they should probably be doing a PR to it does indeed sound like we need a new property here to flag if it should deeplink for desktop. it could be would you have a list of some of these wallets that require this support? i'd love to test their current UX. |
I'll mark this issue as closed by #392 |
Describe the bug
When using a connector that requires Deeplinks to trigger connection requests to desktop apps, it always shows the QR code.
To reproduce
Choose any connector that requires deeplinks to work (e.g.: Zerion), but in our case we patched the library to support the Bloom Wallet, a desktop wallet.
Expected behavior
When choosing a connector that requires deeplinks to work, it should open the deeplink.
Screenshots
Environment details
Browser: Brave, Safari, Chrome.
Additional context
The issue appears to be in the following file:
https://github.com/family/connectkit/blob/main/packages/connectkit/src/components/Common/ConnectorList/index.tsx, in these lines:
Notice that the logic conditions for
deeplink
will never be met on a real scenario:So a user with the installed library and using the dApp from desktop, will never use the deeplink, necessary to open the connection request in the Wallet.
Changing these conditions to just
wallet.isInstalled
makes the deep links work properly, but I'm not sure how it affects the rest of the cases that you're handling there.We can work on a PR to solve this, but would need some additional guidance.
Additional context from the original issue:
#353 (comment)
Special thanks to @MarkNerdi from the Bloom team for helping out and pointing us in the right direction.
The text was updated successfully, but these errors were encountered: