You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS, when triggering a scan, the UI presents a "Cancel" button. Tapping this dismisses the scanning dialog, but does not invoke the ScanResult.scanCanceled method, so the calling code has no way to detect that the scan has been aborted with no result.
Describe the bug
Using the latest version of the QRScanner library (https://github.com/codenameone/QRScanner)
On iOS, when triggering a scan, the UI presents a "Cancel" button. Tapping this dismisses the scanning dialog, but does not invoke the
ScanResult.scanCanceled
method, so the calling code has no way to detect that the scan has been aborted with no result.To Reproduce
Steps to reproduce the behaviour:
Implement a trivial scan handler as above, and deploy it on iOS
Expected behavior
"Scan canceled"
message should be logged"Scan error"
message should be loggedAdditional context
Checking the source, it does not appear that either
scanCanceledCallback
norscanErrorCallback
are ever called from iOS code.The text was updated successfully, but these errors were encountered: