Bookamp
Bookamp

Reputation: 682

Sample Barcode Scanner App does not work in android

I tried to run the sample barcode scanner example provided with icenium. The ios build works well, but I get an error when running the android build.

[Web Console] Uncaught TypeError: Cannot read property 'barcodeScanner' of undefined:33

The ios version I am testing on is ios 7.1. The android version is 4.1.2.

Thanks in advance for any assistance with this issue.

Upvotes: 0

Views: 305

Answers (1)

silverchair
silverchair

Reputation: 942

Cordova 3.2 support has been added in the latest version of Icenium and the BarcodeScanner plugin has been updated to its latest version which complies with Cordova 3.2 as well. If you have cloned the BarcodeScanner sample prior the 3.2 release, please clone it again and it would work out of the box in both Android and iOS.

Upvotes: 0

Related Questions