Try dropping down a phonegap revision to get barcode scanner to work.  It says it works in 3, but...