-
Notifications
You must be signed in to change notification settings - Fork 15
Description
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
- Connect desktop to WiFi network A
- Connect iPhone to WiFi network B
- Visit a Radix dApp on the desktop browser(Chrome)
- Attempt to connect wallet
- 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:
- Show a user-friendly message like "Unable to detect mobile wallet. Make sure your phone and computer are connected to the same WiFi network"
- 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