Scanning barcodes requires the use of a camera on your phone, this device is not available in webapp, and therefore you can not scan barcodes from webapp, regardless of the library that you would like to use.
Also, I donβt think you can use the C, C ++, Objective-C libraries from your javascript / html5, these libraries should be on the phone where your code cannot reach it, and your browser certainly cannot run it.
One of the alternatives would be PhoneGap, I'm not very familiar with it, but it is the iOS (or Android) shell around the webapp, which works as a native application. Perhaps you can get camera support and maybe use the Zxing lib. You should have a look at this, but then you wonβt have a βreallyβ more Webapp.
EDIT: for phone and Zxing see also: how to scan a barcode using a phone saver
source share