qr-scanner
qr-scanner copied to clipboard
Scanner timing out when using a photo taken in safari's file upload menu
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
i have the same on ios\android