Open fgrs opened 8 years ago
looks like MainApplication.java is not getting updated after rnpm link
@fgrs did you solve your problem? maybe you are using an older version of rnpm
? with recent react-native versions you can also just run react-native link
instead of rnpm link
.
Hi @fgrs where you able to fix this problem?
@jmdelatorre as @fgrs says the problem seems to be in MainApplication.java. I did a manual linking which meant adding "new BarcodeScannerPackage()" to MainApplication.java and the problem was fixed.
Hi @jmdelatorre @fgrs @andreaskeller @henninghall : I did manual linking, but still getting this error: Warning: PropTypes has been moved to a separate package. Accessing React.PropTypes is no longer supported and will be removed completely in React 16. Use the prop-types package on npm instead. Warning: Native component for "RNBarcodeScannerView" does not exist Where you able to fix this problem? Thanks
I'm sorry but this component is no longer maintained. Try react-native-camera as a replacement.
this is similar if not the same to #38 but still applies to my project, tried rnpm link it says Android module react-native-barcodescanner is already linked also I removed android folder and run react-native run-android, still getting this error
react: 15.2.1, react-native: 0.30.0, react-native-barcodescanner: 3.0.1