For this reason, there is a Shims module provided to fill in the holes.
To use ethers in React Native, you must either provide shims for the needed missing functionality, or use the ethers.js shim.
It is HIGHLY RECOMMENDED you check out the [security section](cookbook-reactnative-security> below for instructions on installing packages which can affect the security of your application.
After installing packages, you may need to restart your packager and company.
The React Native environment does not contain a secure random source, which is used when computing random private keys. This could result in private keys that others could possibly guess, allowing funds to be stolen and assets manipulated.
For this reason, it is HIGHLY RECOMMENDED to also install the React Native get-random-values, which must be included before the shims. If it worked correctly you should not receive any warning in the console regarding missing secure random sources.