Here is a simple working Barcode scanner for iOS and Android platforms using Cordova.