This is a simple app that demostrates how to use a cordova barcode scanner plugin inside a cordova mobile app tested on real android device . It is important to mention that necessary permissions for camera should be given for the app from the device setting the plugin used is
cordova plugins add https://github.com/wildabeast/BarcodeScanner.git
video.mp4
cordova run android