phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.42k forks source link

Scanning Failed : Scan is already in progress #865

Closed LukeRasMEL closed 4 years ago

LukeRasMEL commented 4 years ago

Expected Behaviour

All IOS devices should behave in the same manner if the code is right

Actual Behaviour

Some users are fine, other IOS users see the error : Scanning Failed : Scan already in progress.
The barcode scanner does not open.

If they kill the app and open again, clears the error so its hard to reproduce

Reproduce Scenario (including but not limited to)

Cant seem to reproduce - its seems to be a random reported error

Platform and Version

IOS

Has anyone come across this error and potentially save me a lot of random testing? We are testing if users are double tapping the scan button, rejecting permissions or not closing the app correctly.

LukeRasMEL commented 4 years ago

Turns out it was people double tapping the scan button. IOS broke when it tried to open multiple instances.

lock[bot] commented 4 years ago

This thread has been automatically locked.