Hey, I’ve been trying to get my personal Dapp working through Moralis but I’ve come across a problem.
When trying to login through Trust Wallet or Metamask on my Android phone I get the message “Non ethereum enabled browser”.
async function login(provider) {
try {
let web3;
if (provider == 'walletconnect') {
const user = await Moralis.authenticate({ provider: provider });
web3 = await Moralis.enableWeb3({ provider });
} else {
const user = await Moralis.authenticate();
web3 = await Moralis.enableWeb3();
}
alert("Logged In!");
}
catch (ex) {
alert(ex.message);
}
}
Anyone has an idea what I’m doing wrong here? It’s working fine on a PC with either wallet connect or metamask.