Non ethereum enabled browser on mobile

Hello, can you help me?

await Moralis.enableWeb3()
const web3Js = new Web3(Moralis.provider)
const temp = await Moralis.authenticate({ provider })

throw an error “non ethereum enabled browser”
What should I do?

You’ll need to use WalletConnect as a provider for mobile.

It works with walletconnect:

const provider = isMobileAndTablet() ? ‘walletconnect’ : ‘metamask’

Hey can you how me the file you modified? I am having the same issue on some devices.