PDF417 / pdf417-phonegap

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

iPad Air 2 QR scanning issues #16

Closed collinforrester closed 9 years ago

collinforrester commented 9 years ago

Has anyone else reported issues scanning a QR code with this library on the new iPad Air 2?

Cerovec commented 9 years ago

Actually, no. We can confirm that pdf417-phonegap works on iPad Air 2, even on iOS 9. This might be an issue with the QR code - either it's too small, or you use front facing camera. Or the QR code is held too far from the camera...

Can you give more details please? A photo of the QR code would be ideal.

dnieto88 commented 9 years ago

I am unable to scan QR codes using the front camera on the iPad air 2. It works on other ipads with the front camera with no issues.

screen shot 2015-08-19 at 7 38 55 pm

Cerovec commented 9 years ago

We successfully used pdf417-phonegap iOS plugin on iPad Air 2 to scan that QR code with front facing camera.

Try printing the QR code and using the paper above the device placed on the table.

If you try to scan from screen, you have to hold the device very close to the screen, and it's hard to position the device appropriately.

Also, implementation-wise, make sure "QR code" is included in the types array, and that frontFace camera is selected.

        var types = ["PDF417", "QR Code"];

        /**
         * Initiate scan with options
         * NOTE: Some features are unavailable without a license
         * Obtain your key at http://pdf417.mobi
         */
        var options = {
            beep : true,  // Beep on
            noDialog : true, // Skip confirm dialog after scan
            uncertain : false, //Recommended
            quietZone : false, //Recommended
            highRes : false, //Recommended
            inverseScanning: false,
            frontFace : true
        };
Cerovec commented 9 years ago

Attached scanning result. img_0010

collinforrester commented 9 years ago

Thanks for the debugging help @Cerovec . Would it matter if I am on an older version of the plugin? In the plugin.xml it looks like version 1.0.3.

I'm not sure about @dannyniceboy

Cerovec commented 9 years ago

We definitely recommend using the current release v1.0.2

It looks like version in plugin.xml isn't synchronised with Github version - sorry about that. But I can confirm that the last release should be backwards compatible.

collinforrester commented 9 years ago

Are we able to upgrade to this version without purchasing it again or how does this work? Are you saying to just upgrade the PG code and it should be fine?

Cerovec commented 9 years ago

You can just upgrade the PG plugin.

Depending on the version you currently have, the license key format is probably changed. You can check this by upgrading the plugin, and testing if the scanner works as before. If you see the license error, please contact our support at support@microblink.com to get new iOS and Android license keys (we do not charge for this license key upgrade).

Kind regards, Jurica.

On Thu, Aug 20, 2015 at 3:44 PM, Collin Forrester notifications@github.com wrote:

Are we able to upgrade to this version without purchasing it again or how does this work? Are you saying to just upgrade the PG code and it should be fine?

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

Jurica Cerovec, M.Sc.

mobile: +385 98 993 8076 skype: cerovec

http://photomath.net http://microblink.com

collinforrester commented 9 years ago

Awesome, thank you!