ethereum-react-native-boilerplate icon indicating copy to clipboard operation
ethereum-react-native-boilerplate copied to clipboard

Log in via Metamask - 404-page in WalletConnect in Metemask-browser

Open aeroluxx opened this issue 3 years ago • 5 comments
trafficstars

The App is built without problems But when I try to log in via Metamask, i see WalletConnect in Metemask-browser and 404-page

This question has already been asked https://forum.moralis.io/t/ethereum-react-native-boilerplate-questions/4511/10

https://user-images.githubusercontent.com/38083916/169650203-7ca80221-315a-4c94-9bfd-47ac197e8443.mov

aeroluxx avatar May 21 '22 11:05 aeroluxx

same problem facing right now

Shehryar2 avatar May 24 '22 14:05 Shehryar2

yes same problem

gHashTag avatar May 24 '22 19:05 gHashTag

i am facing Same problem . Are you guys have any Soliution ?

rohanmaity123 avatar May 30 '22 18:05 rohanmaity123

Does anybody yeah home?

gHashTag avatar Jun 01 '22 15:06 gHashTag

1. To fix the WalletConnect 404 page issue

frontend\WalletConnect\providers\WalletConnectProvider.tsx at line 65:

change

Linking.openURL('https://walletconnect.org/wallets');

to

Linking.openURL('https://walletconnect.com/registry?type=wallet');

2. To fix the MetaMask app connection not working (workaround for now)

frontend\WalletConnect\providers\WalletConnectProvider.tsx - comment out lines 63 - 67

/* if (!canOpenURL) {
  // Redirect the user to download a wallet.
  Linking.openURL('https://walletconnect.com/registry?type=wallet');
  throw new Error('No wallets found.');
} */

You should be able to connect normally after this. If you have further issues after this, can you please post in this thread: https://forum.moralis.io/t/ethereum-react-native-boilerplate-questions/

alexnguyennz avatar Jun 06 '22 03:06 alexnguyennz