Skip to content

The react-native document does not even have a monitoring document for whether it has been connected or disconnected, and it was not found in the demo. #2994

Discussion options

You must be logged in to vote

hey @a943999733 👋 can you explain more what's your issue? And provide reproducible code.

If you want to track the connection between a wallet and your dapp, you can use isConnected prop.

const { isConnected } = useWalletConnectModal()

Remember that if you reopen the app, it takes some seconds to restore the session again.

You can read more here: https://docs.walletconnect.com/2.0/reactnative/walletconnectmodal/dapp-usage#usewalletconnectmodal

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by finessevanes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants