Comments (4)
Safari on iOS doesn't support either Flash or the getUserMedia API, as far as I can tell. I suspect that this issue is unfixable until it does.
from jsqrcode.
I'm having a similar issue. It is not with getUserMedia. I am using a file chooser to select the QR code to be read. I have an image that works fine on my computer, but on my phone (iPhone 5s, iOS 7) I have to rotate the image to the correct orientation or else it throws the exception "Couldn't find enough finder patterns" in findpat.js line 394. The exception is being thrown because startSize = 0.
from jsqrcode.
I'm also having similar issue on iPhone 4s with iOS 7. Every time I try to scan a QR Code (previously taken with the iPhone camera), I have "error decoding QR Code" error. When I try to to decode the same QR Code, same image file, on my PC with Firefox it's work fine.
Also, if I re-save the image directly on my iPhone (by doing dummy image editing..) then QR code scan works for that image.
I have also tested, on my iPhone, with image downloaded from some web QR Code generator, works fine.
I think the problem may come from the manner the image is saved on iPhone, peraps an iOS 7 related problem, because I have had no problem with an iPad on iOS 6...
Would be great If someone could provide some help !
from jsqrcode.
For those still having this issue, I have found a solution here : http://stackoverflow.com/a/17086329
The problem is due to some iOS bug, the image taken by camera have wrong dimensions and need to be resized before the QR code decode call...
from jsqrcode.
Related Issues (20)
- Doesnt work in Iphone devices HOT 4
- color
- Barkod Okuyucu
- prompt to ‘ flash.ccCapture is not a function’
- Failed to load the image HOT 1
- Can support 2D Data Matrix Code read HOT 1
- How to call the method from canvas using getusermedia HOT 1
- failed to load the image
- QR code unable to read HOT 2
- Here is a tutorial on how to use this library HOT 6
- [SOLVED]ios 11 - ios 12 black screen
- is not work on ios HOT 1
- What kind of tool is this ?
- Abnormal parsing result HOT 1
- Unable to open in chrome (not secure) http:// HOT 1
- Flashlight turn off on mobile HOT 1
- QR code containing Japanese characters HOT 1
- JavaScript Error HOT 1
- Can not decode QR code on iOS 13.1
- How to create a QRCode ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsqrcode.