This plugin implements barcode scanner on Cordova 4.0
- Android 4.0.0 or above
- iOS 7.0.0 or above
cordova plugin add [dir]
com.jieweifu.plugins.barcode.startScan(function(success){
alert(JSON.stringify(success));
}, function(error){
alert(JSON.stringify(error));
});