Skip to content
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

Cross-Network Wallet Connection Issues Between Desktop and Mobile #305

Open
mshakeg opened this issue Dec 20, 2024 · 2 comments
Open

Cross-Network Wallet Connection Issues Between Desktop and Mobile #305

mshakeg opened this issue Dec 20, 2024 · 2 comments

Comments

@mshakeg
Copy link

mshakeg commented Dec 20, 2024

Description

When attempting to connect my iOS wallet to a dApp opened in Chrome on my mac, there appears to be a responsiveness issue when the devices are on different WiFi networks. The wallet connection flow does not display properly on the Radix Wallet app, presumably because the app is unreachable.

However, when both devices (Mac and iPhone) are connected to the same WiFi network, the connection flow works as expected.

Expected Behavior

  • The wallet connection should work seamlessly regardless of which networks the desktop browser and mobile wallet are connected to

Current Behavior

  • Connection flow works properly when both devices are on the same WiFi network
  • When devices are on different WiFi networks:
    • The connection flow doesn't display properly on the Radix Wallet
    • The wallet appears unreachable

Context

In the EVM context, WalletConnect in my understanding solves this through relay servers that facilitate connections between devices on different networks. This might be worth considering as a reference for improving cross-network connectivity.

Steps to Reproduce

  1. Connect desktop to WiFi network A
  2. Connect iPhone to WiFi network B
  3. Visit a Radix dApp on the desktop browser(Chrome)
  4. Attempt to connect wallet
  5. Observe that the connection flow doesn't display properly on the Radix Wallet

Alternative Solution (Short Term)

Consider adding a network connectivity warning to the Radix Connect button/widget when connection attempts fail. This could:

  1. Show a user-friendly message like "Unable to detect mobile wallet. Make sure your phone and computer are connected to the same WiFi network"
  2. Display after a brief timeout if no wallet response is received

This would:

  • Improve user experience by providing immediate feedback
  • Reduce user confusion about why the connection isn't working
  • Save users time by suggesting the most common fix
  • Bridge the gap until a more robust cross-network solution can be implemented
@mshakeg
Copy link
Author

mshakeg commented Dec 20, 2024

Would also recommend setting up issue moderation to restrict comments to collaborators, contributors, or people with prior activity on the repository.

Or set up a moderator bot for scammers like @quinnorson00967821

@dawidsowardx
Copy link
Contributor

Thank you for reporting this issue @mshakeg. If you are able to consistently reproduce the problem, please send your Connector Extension logs to [email protected] and include the description you provided above.

image

@radixdlt radixdlt deleted a comment Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants