ekreutz / react-native-barcode-scanner-google

Barcode scanner for react native, which implements barcode detection from Google's Vision API.
MIT License
113 stars 68 forks source link

Error import library #10

Closed dacontor closed 6 years ago

dacontor commented 6 years ago

when add library, react native show red screen with the following message:

"undefined is not an object (evaluating '_react2.PropTypes.func')"

any idea??

regards

ekreutz commented 6 years ago

Try to pull the most recent commit, and not v1.2.0

ekreutz commented 6 years ago

Something like this:

npm install git+https://github.com/ekreutz/react-native-barcode-scanner-google.git#ece3e0a --save

Or similar... Latest commit should solve this!

dacontor commented 6 years ago

Great!! it worked

Thanks!!