You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior:
After connecting a wallet, the user should be able to interact with it immediately, including signing messages, as soon as the account enters the connected state.
Current Behavior:
After connecting a wallet, the isConnected property of the account object is correctly set to true. However, attempting to call signMessage right after does not trigger a prompt in the wallet to perform the signing operation. Nothing happens and no errors are printed in the browser console.
This issue occurs predominantly on mobile devices, most of the times on Android. It appears there might be a delay between the completion of the connection phase and the wallet’s readiness to handle message signing. The problem is intermittent and varies across different Android mobile devices models.
@michele-franchi Seems like the minimal reproducible example is not working properly. I think the preview domain needs to be whitelisted.
I'm also not able to reproduce this in our HTML wagmi cdn example so i'll close this issue for now, but if you're still stuck please let me know and provide a working reproducible example.
Link to minimal reproducible example
https://stackblitz.com/edit/vitejs-vite-9yovhwna?file=src%2Fmain.js
Summary
Expected Behavior:
After connecting a wallet, the user should be able to interact with it immediately, including signing messages, as soon as the account enters the connected state.
Current Behavior:
After connecting a wallet, the
isConnected
property of the account object is correctly set totrue
. However, attempting to call signMessage right after does not trigger a prompt in the wallet to perform the signing operation. Nothing happens and no errors are printed in the browser console.This issue occurs predominantly on mobile devices, most of the times on Android. It appears there might be a delay between the completion of the connection phase and the wallet’s readiness to handle message signing. The problem is intermittent and varies across different Android mobile devices models.
The attached minimal reproducible example is based on https://github.com/reown-com/appkit/tree/main/examples/html-wagmi, with the simple addition to execute
signMessage
once the account enters theisConnected
state.I performed multiple tests with different Android devices, using up to date Chrome and Metamask and the packages listed below.
List of related npm package versions
appkit: 1.6.3
@wagmi/core: 2.x
Node.js Version
22.12.0
Package Manager
10.9.0
The text was updated successfully, but these errors were encountered: