phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.41k forks source link

Issues scanning datamatrix #336

Open vaprea opened 8 years ago

vaprea commented 8 years ago

Expected Behaviour

Datamatrix code recognition

Actual Behaviour

Code not recognized

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 6.x and Android 7.x

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Nexus 5X

Cordova CLI version and cordova platform version

cordova 5.4.1 android, ios

Plugin version

5.x and 6.x

aagasi commented 8 years ago

We are facing this issue: "Upon tapping the scan it doesn't open the camera to scan the barcode"

Any idea how to fix it?

vaprea commented 8 years ago

If on iOS 10, you should add NSCameraUsageDescription in Info.plist file

aagasi commented 8 years ago

Sorry, on IOS it works perfect. But on Android devices we have no response from the plugin. Can't figure out what's happening.

vaprea commented 8 years ago

Sorry, problem connected with this issue is only with datamatrix format. I can open device camera without problems. About datamatrix, i think the problem is with the aar embedded in the plugin because trying to use ZXing library directly it works correctly, any idea?

Mylittlebigweb commented 7 years ago

Same issue here, phone reconize the datamatrix code but doesn t return anything... Any fix for that?