Not sure this is the right place to raise an issue for Imtoken wallet. If there is another place, which is more suitable for this issue, please let me know.
My dapp website works flawless in all other mainstream dapp browsers (Metamask, Trust wallet, Coinbase wallet, Opera Mobile, Math Wallet, even imToken before 2.4.2), but in Imtoken 2.4.2 when I press the fresh button on the top right corner, the window.ethereum or window.imToken will be undefined, which is checked by using the vconsole.
But when I go back and enter my dapp url directly in the address bar, window.ethereum and window.imImtoken works fine again.
My dapp website works flawless in all other mainstream dapp browsers (Metamask, Trust wallet, Coinbase wallet, Opera Mobile, Math Wallet, even imToken before 2.4.2), but in Imtoken
2.4.2
when I press the fresh button on the top right corner, thewindow.ethereum
orwindow.imToken
will beundefined
, which is checked by using thevconsole
.But when I go back and enter my dapp url directly in the address bar,
window.ethereum
andwindow.imImtoken
works fine again.Thanks.