Metamask is not detected on mobile

I’ll get straight to it.

This is my code:

if (typeof window.ethereum !== 'undefined') {
            console.log('MetaMask is installed!');
            const accounts = await ethereum.request({ method: 'eth_requestAccounts' });
            return true;
        } else {
            return false;
        }

works just fine on PC. However, when I go to my Metamask wallet, I go tho the browser section, reach my website and try to log in… nothing happens. Any ideas?

Hey @Mat99, this page on the MetaMask docs will provide more information on the difference between mobile and desktop connection:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.