qr-scanner icon indicating copy to clipboard operation
qr-scanner copied to clipboard

Scanner timing out when using a photo taken in safari's file upload menu

Open Teuntitaan1 opened this issue 2 years ago • 1 comments

As the titles states, when a photo with a Qr-code gets uploaded and scanned, instead of returning the value of the Qr-code, the scanner throws a timeout error.

However an image from the image roll does work, it is specificaly images that are directly made with the camera roll.

How i handle the scanning is shown below


		QrScanner.scanImage(data, {returnDetailedScanResult : true})
			.then(result => {
this.setState({Data: result.data});

				}
			})
			.catch(error => {
					this.setState({Warning : error});
				}
			});

help is appreciated since i cant seem to find others having the same bug

Teuntitaan1 avatar Feb 13 '23 20:02 Teuntitaan1

i have the same on ios\android

VadimGorbenko avatar Mar 28 '24 09:03 VadimGorbenko