coreyphillips / rn-bitcoinjs-lib

A React Native compatible implementation of bitcoinjs-lib
MIT License
30 stars 6 forks source link

How to make it work in Expo app? #2

Closed hassantauqeer closed 5 years ago

hassantauqeer commented 5 years ago

How to make it work in Expo app? Please Help!

hassantauqeer commented 5 years ago

While trying to resolve module crypto module field that could not be resolved

coreyphillips commented 5 years ago

Based on what you mentioned it's possible that you skipped the following step in the README: Add/Uncomment "require('crypto')" at the bottom of shim.js

If you didn't skip the step above it's possible that this library will not work with an Expo app and would most likely need to be ejected from Expo to get it working.