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
When using MetaMask Mobile to log into the AppKit Lab demo locally via WalletConnect, switching to a network that is not already added in the wallet (e.g., BSC Testnet) does not prompt the expected permission request. Instead, the app briefly displays "Approve in Wallet" for 2-3 seconds before switching the network on the app. However, the network does not get added or switched in the mobile wallet.
Additionally, when attempting to Sign Message, the network automatically switches back to Ethereum Mainnet or Sepolia Testnet instead of processing the signature request on the selected network (which was not initially available in the wallet). This behavior is inconsistent and prevents proper interaction on custom networks.
Expected Behavior
When switching to a network that is not added in the mobile wallet, WalletConnect should trigger a permission request for the user to Add and - Switch the Network in MetaMask Mobile.
Once switched, the selected network should persist and not revert back when signing messages.
For transaction-related interactions (e.g., sending tokens), the provider should correctly calculate the gas price without errors.
Current Behavior
No permission prompt appears when switching to an unadded network.
The network switch does not reflect on MetaMask Mobile.
Upon signing a message, the network automatically switches back to Ethereum Mainnet/Sepolia instead of proceeding with the signature.
For BSC Testnet, sending tokens fails due to a provider error while trying to calculate gas price.
Steps to Reproduce
Log into the AppKit Lab demo locally via WalletConnect using MetaMask Mobile.
Switch to a network not previously added in the mobile wallet.
Observe that there is no permission request to add/switch the network in MetaMask Mobile.
Click SIGN MESSAGE while on the unadded network.
Notice that instead of the selected network, the network displayed on the mobile wallet is used for signing.
On trying Sign Message with bscTestnet shown on the app, it uses the network shown in the mobile wallet instead
Sidharth1013
changed the title
Network Switch & Sign Message Issues on MetaMask Mobile via WalletConnect
[bug] Network Switch & Sign Message Issues on MetaMask Mobile via WalletConnect
Feb 4, 2025
Sidharth1013
changed the title
[bug] Network Switch & Sign Message Issues on MetaMask Mobile via WalletConnect
[bug] Network Switch & Sign Message Issues on Mobile Wallet via WalletConnect
Feb 4, 2025
Summary
When using MetaMask Mobile to log into the AppKit Lab demo locally via WalletConnect, switching to a network that is not already added in the wallet (e.g., BSC Testnet) does not prompt the expected permission request. Instead, the app briefly displays "Approve in Wallet" for 2-3 seconds before switching the network on the app. However, the network does not get added or switched in the mobile wallet.
Additionally, when attempting to Sign Message, the network automatically switches back to Ethereum Mainnet or Sepolia Testnet instead of processing the signature request on the selected network (which was not initially available in the wallet). This behavior is inconsistent and prevents proper interaction on custom networks.
Expected Behavior
Current Behavior
Steps to Reproduce
On trying Sign Message with bscTestnet shown on the app, it uses the network shown in the mobile wallet instead
![Image](https://private-user-images.githubusercontent.com/163098264/409517672-1ce39a05-9703-465a-9ae0-b49b631310ee.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTYwNzYsIm5iZiI6MTczOTE1NTc3NiwicGF0aCI6Ii8xNjMwOTgyNjQvNDA5NTE3NjcyLTFjZTM5YTA1LTk3MDMtNDY1YS05YWUwLWI0OWI2MzEzMTBlZS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwMjQ5MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMGQwMWQxZTI2NTVhYzkyYzA2YjQxYzFmMmNmOWJmMTE3MzlkYmJkYTYyZTQ5Y2FjNTk5YzlmZWI4YTdiZWE2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.F6769t-nthF1TBrBDDDVhqOheZK2V6RRTRsB6xeK2vQ)
List of related npm package versions
Using the repo with appkit version 1.6.5
Node.js Version
18.20.6
Package Manager
[email protected]
The text was updated successfully, but these errors were encountered: