-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hint option of scanBarcode method is not applied #17
Comments
I think this is true for the majority of the configurable options. The const param = {
facingMode: options.cameraDirection === 1 ? 'environment' : 'user',
hasScannerButton: false,
scanButton: options.scanButton === undefined ? false : options.scanButton,
...
} It looks like the only places
No other options have an effect on the execution of the method. EDIT: let scannedBarcode = try await manager.scanBarcode(with: scanArguments.scanInstructions,
scanArguments.scanButtonText,
scanArguments.cameraDirection,
and: scanArguments.scanOrientation) and the android:
This gives me the impression that it would be very difficult to have a shared experience cross platform if using this plugin, as the iOS and Web implementations are pretty barebones in comparison. |
Indeed, we provide |
Calling the scanBarcode method with a hint to specify the type of barcode to be scanned doesn't seem to work. Calling
scanBarcode({ hint: 1 })
for example should only allow AZTEC codes but somehow QR codes still get detected.The text was updated successfully, but these errors were encountered: