code-kotis / qr-code-scanner

📠 A simple, fast and useful progressive web application
https://qrcodescan.in
MIT License
1.05k stars 291 forks source link

Image Scanning not working in IOS or Iphone #16

Closed nagesh1988 closed 7 years ago

nagesh1988 commented 7 years ago

Following are the simulation steps,

1) I have taken snapshot in Iphone by Provided link from Application 2) Application looks, uploaded image scanning but no response even after 30 min.

Note: I have faced same problem with Zxing library & jsqrcode & qrcode-decoder-js. In case of taking snapshot from camera. Suspecting image size problem.

Awaiting for your reply.

nagesh1988 commented 7 years ago

Any update guys...

gokulkrishh commented 7 years ago

@nagesh1988 I tested it in iOS both iPad & iPhone. Scanning doesnt work if the image is too far.

Can you post the image which you tested ??

nagesh1988 commented 7 years ago

sure i can share. If i will take pic in mobile camera,its giving around 3MB to 4MB based on cam resolution or clarity. I have seen one more plugin (https://bl.ocks.org/jazzido/9435670) almost similar to your application. It's giving quick response while web cam scanning but they didn't supported iPhone & Ipad. I mean camera approach.

Just for clarification I explained all these. Following image you can check for testing. img_20170406_102137_1

image

This image not working even in web level also.

This is sample. Similar kind only I am checking. Even I have tried different pics. But no luck.

Hope My information helps you to analyze the problem.

nagesh1988 commented 7 years ago

Any update guys...

gokulkrishh commented 7 years ago

@nagesh1988 I tried these images in https://qrcodescan.in. I have no luck in making it work.

But both of them works in android native app. I will try to find a solution for this. Will keep you posted.

Also from your feedback. I found out that, QR code scanning works for certain distance only when scanning via camera. Will try to address this as well. Thanks nagesh for your feedback.

nagesh1988 commented 7 years ago

Thanks you for your quick response.

I hope you can close this problem ASAP. I will also try on my end. If I will get any update I will share you.

Below plugin working with both the attached images,

https://bl.ocks.org/jazzido/9435670

Thanks Once again.

gokulkrishh commented 7 years ago

@nagesh1988 Its working now. Updated the app. You will be able to scan now. Thanks