onAccountsChanged doesn't work with walletconnect

I am trying to detect when a user changes the accounts in the wallet currently im using

      const {  Moralis } = useMoralis();

      Moralis.Web3.onAccountsChanged(function (accounts) {

This work fine for metamsk browser extension but if I connect using walletconnect and change the accounts from the mobile phone it doesn’t detect the changes. Is there something missing here

Hi @uvindu9412

This feature probably doesn’t work with WC and I don’t think it’s really needed. I mean if the wc-frontend connection is active - it doesn’t matter which wallet is selected now (for example on TWT you even can’t switch them). If the selected wallet closes the connection - it will be closed for the WC too

Are you able to sign transactions if you switched active wallet?