Please provide the following:
- SDK Version: 41.0.1
- Platforms(Android/iOS/web/all): Android iOS
I have a dependency that uses the native nodejs crypto module. I installed the Crypto and Random libraries in the hopes of fixing this issue. The project builds but I get the following error when the app encounters the code using crypto.
TypeError: undefined is not an object (evaluating ‘crypto_1.default.randomBytes’)
Maybe the libraries are not capable of handling dependencies that use the crypto module and only handles the use case of using crypto directly in your app? Or is there some additional setup that can be done for example in the metro.config.js to fix this? Any help or guidance is appreciated.