I want to use WalletConnect on my ReactNative app. As the WalletConnect docs say, I'm using
npx rn-nodeify --install --hack
(for introducing support for Web3) in an existing project.
Of course, I'm following these docs (which are indicated on the page of WalletConnect) but every time I run this app, I received
Uncaught Error: null is not an object (evaluating 'RNRandomBytes.seed')
on screen. Is there anyway to solve this?
I´m using expo on android.
Instead of nodeify command use this approach to integrate wallet connect library with bare CLI project.
Reference: https://github.com/WalletConnect/walletconnect-monorepo/issues/753
In package.json add following dependencies
Update metro-config.js
Add following statement in index.js