tradle / rn-nodeify

hack to allow react-native projects to use node core modules, and npm modules that use them
MIT License
614 stars 114 forks source link

very awesome and useful project #115

Open tokenswaporg opened 2 years ago

tokenswaporg commented 2 years ago

thanks very much

ansh commented 2 years ago

@tokenswaporg can you share an example repo that you got working with this package?

tokenswaporg commented 2 years ago

not only import 'crypto'; in root directory(index.js),i import crypto in every .js file in react native

like this:

in CreateIdenity.js

import 'crypto'; // import DateUtil from '../utils/DateUtil';

const CreateIdentity = ({route, navigation}) => {}