PDF417 / pdf417-phonegap

PDF417 and QR code scanning plugins for PhoneGap/Cordova framework
47 stars 21 forks source link

Code 39 issues #10

Closed spazzymoto closed 9 years ago

spazzymoto commented 10 years ago

Hey guys, Been testing out your plugin on PDF417 and Code 39 barcodes, the PDF417 works great but im struggling with the code 39.

On android once its finished scanning the app crashes, if i remove the line referencing the data ie something.innerHtml = data.data then it scans and closes the scanner and doesnt crash.

On ios it scans but doesnt return what i was expecting, ie barcode = 7401015040088 and app returned something like 7.

If i scan the barcode from the app in the play store it works beautifully.

Any ideas? i can email you a copy of the barcode i am trying to scan if that will help.

ssasa commented 10 years ago

Please send us high res image of barcode. Thanks!

spazzymoto commented 10 years ago

This is the barcode http://www.barcoding.com/upc/temp/rad20391.png I built the demo application to remove any effect of my application. The scanner seems to scan this off the screen perfectly for a couple of times then the app crashes. (ie cant do 10 scans in a row without it crashing)

If i scan the version on my actual document it crashes instantly

spazzymoto commented 10 years ago

i changed the uncertain and quietzone options to true and now i can scan the doc a couple of times now too before it crashes

DoDoENT commented 10 years ago

Hi!

Could you please try with the latest Android version (non-phonegap) from this repository https://github.com/PDF417/pdf417-android, or with our app from Play Store https://play.google.com/store/apps/details?id=mobi.pdf417. We cannot reproduce the crash with it on HTC One M8 with the barcode you sent. Phonegap version is still not updated and uses old version of scanning library. Both play store app and android native SDK contain the newer version of scanning library than phonegap version. In case crash happens even with latest scanning library, please send us the stack trace and verbose log of the crash. To enable verbose logging, please see this link https://github.com/PDF417/pdf417-android#troubleshooting.

Best regards, Nenad

Nenad Mikša, M.Sc. Lead Android Engineer

Microblink Ltd. https://microblink.com https://microblink.com/ skype: dodoent mobile: +385 91 950 6929

On 29 Oct 2014, at 12:38 , spazzymoto notifications@github.com wrote:

i changed the uncertain and quietzone options to true and now i can scan the doc a couple of times now too before it crashes

— Reply to this email directly or view it on GitHub https://github.com/PDF417/pdf417-phonegap/issues/10#issuecomment-60908853.

spazzymoto commented 10 years ago

It doesnt seem to happen using the latest version. I'll wait for the phonegap plugin to be updated thanks for the assistance :)

ssasa commented 10 years ago

We expect to have updated Phonegap plugin toward the end of next week. Sasa

On Wed Oct 29 2014 at 1:14:26 PM spazzymoto notifications@github.com wrote:

It doesnt seem to happen using the latest version. I'll wait for the phonegap plugin to be updated thanks for the assistance :)

— Reply to this email directly or view it on GitHub https://github.com/PDF417/pdf417-phonegap/issues/10#issuecomment-60912983 .

ssasa commented 9 years ago

Few months later this is updated. Hopefully better now than never.