Open shanejonas opened 3 years ago
On mobile, doesnt seem to pop up to ask me to switch networks:
https://shanejonas.github.io/metamask-link/?method=wallet_addEthereumChain¶ms[0][chainId]=0x64¶ms[0][chainName]=xDAI%20Chain¶ms[0][rpcUrls][0]=https://dai.poa.network¶ms[0][iconUrls][0]=https://xdaichain.com/fake/example/url/xdai.svg¶ms[0][iconUrls][1]=https://xdaichain.com/fake/example/url/xdai.png¶ms[0][nativeCurrency][name]=xDAI¶ms[0][nativeCurrency][symbol]=xDAI¶ms[0][nativeCurrency][decimals]=18¶ms[0][blockExplorerUrls][0]=https://blockscout.com/poa/xdai/
looks like an existing mobile bug that is fixed in the next release. workaround right now is not using iconUrls
iconUrls
On mobile, doesnt seem to pop up to ask me to switch networks:
https://shanejonas.github.io/metamask-link/?method=wallet_addEthereumChain¶ms[0][chainId]=0x64¶ms[0][chainName]=xDAI%20Chain¶ms[0][rpcUrls][0]=https://dai.poa.network¶ms[0][iconUrls][0]=https://xdaichain.com/fake/example/url/xdai.svg¶ms[0][iconUrls][1]=https://xdaichain.com/fake/example/url/xdai.png¶ms[0][nativeCurrency][name]=xDAI¶ms[0][nativeCurrency][symbol]=xDAI¶ms[0][nativeCurrency][decimals]=18¶ms[0][blockExplorerUrls][0]=https://blockscout.com/poa/xdai/