This is a simple barcode scanner application made using React Native CLI with React Native Camera
If you want to run this code on your side then follow these steps:
- Download or pull this repository using Git
- Open terminal and navigate inside the project folder
- Create a file named local.properties inside android directory
- Create a file named local.properties inside android directory
- Put the this line in that file. Make sure sdk path is correctly mentioned as per your system: sdk.dir= /home/{username}/Android/Sdk
- Rerun yarn android
- Run this command yarn
- Run this command cd ios && pod install && cd - (Only applicable for Mac users)
- Run this command yarn android to run the application on Android device or emulator OR this command yarn ios to run the application on Simulator.
- Run this command yarn start for the first time, it starts a metro bundler in parallel.
If you are find any difficulty in installation, you can contact me. If you want help in any other issue of react native or want more codes then you can let me know on my email.