A barcode scanner component for react native - not maintained anymore - use react-native-camera
The react-native-barcodescanner is no longer maintained and users are advised to switch to react-native-camera for barcode scanning. The newer version 0.4.0 of react-native-camera includes barcode scanning functionality for android as well, offering a more robust implementation with support for both iOS and Android platforms.
To install the react-native-camera library for barcode scanning, follow these steps:
react-native link.android/settings.gradle and android/app/build.gradle.MainApplication.java.BarcodeScannerPackage to the exported package list in MainApplication.java#getPackages.The react-native-barcodescanner library is no longer maintained, and users are recommended to switch to react-native-camera for barcode and QR scanning functionality. The newer version of react-native-camera offers enhanced features, cross-platform support, and a more robust implementation for barcode scanning on both iOS and Android platforms. Users can customize properties such as torch mode, camera type, and viewfinder styling to suit their application’s requirements.