I am working on a Cordova Android project with barcode scanning ability. I find the detailed steps on this blog helpful: http://simonmacdonald.blogspot.ca/2011/12/installing-barcode-plugin-for-phonegap.html
However, I am a bit concerned about the mismatch of SDK target of barcodeScanner library (Android 4.0) and that of main project being 2.x. As 2.x is still dominant Android OS in the market, it makes sense to build main project targeting 2.x.
Will that barcodeScanner library targeting 4.0 work well on 2.x handset?
Am I missing something here?
Any pitfalls to watch out for? especially considering future code changes to adapt to fast changing Android handsets.