Hi all I am experiencing an error finding the crypto
module while attempting to upload NFT Metadata using the metaplex js sdk and bundlrStorage in react native with the following typescript code:
await currentMetaplex
.nfts()
.uploadMetadata(nftMetadata);
This method worked in a regular react app and have tried installing and using the "crypto", "crypto-browserify", "react-native-crypto-js", and "crypto-js" modules as well as polyfilling following the directions in the metaplex react cra5 example without success. As far as I can tell this is could be an issue with polyfills or the fact that I am using expo but am new to react native and out of ideas on what else I can try.
Has anyone else experienced this error or have any idea on how to fix?