-
Notifications
You must be signed in to change notification settings - Fork 18
Remove direct crypto module dependency to support React Native #19
Comments
Something odd is happening, because I have When I include So, maybe because |
Removing |
I realize now it's a futile effort, because the So probably not worth the effort to remove Maybe WASM modules to replace all the node/crypto stuff is a smart long-term move for a React Native environment? |
Thanks for reporting. You're right, we should probably just use |
Quick heads up that using the
|
@kamescg we are no longer importing the entire |
Yes. My whole app is nodified/cryptoified. I'm running It's only this library throwing import errors and I believe it's because the Metro compile is not catching the |
It's an old fix from awhile back => ethers-io/ethers.js#268 (comment) I'm gonna make sure I'm running the latest and see if I still have any issues.. I think my |
Wait are you running 3box, or IdentityWallet in RN? The former will likely not work at all. |
IdentityWallet. That was a typo. I'm aware of all the 3Box React Native issues and I'm not going paid enough to want to deal with that headache :) |
Describe the bug
The
crypto
module breaks React Native.Would be great to use the shim provided by ethers to add the essential
crypto
methods.The text was updated successfully, but these errors were encountered: