Skip to content
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

Systematic freeze on IOs #329

Open
lantenac opened this issue May 19, 2016 · 1 comment
Open

Systematic freeze on IOs #329

lantenac opened this issue May 19, 2016 · 1 comment

Comments

@lantenac
Copy link

Environment :
iphone :
phonegap-plugin-barcodescanner 5.0.0
ios : 9.3.2

Failure scenario :

  1. I tap for launching the scan I bound on a button,
  2. I re-tap the button before the scan get launched,
  3. The scanner interface is displayed but frozen. I can exit though.

Remark : if i don't "double tap", scan is ok. It seems there is a concurrent access to the camera/video stream which is not properly handled.

Does anyone have a fix ?

Thanks a lot for your help.

Dorian.

@ryanc35
Copy link

ryanc35 commented Jun 15, 2016

Hi Dorian,

You can try all the lines that include "didAppear" which I made from a fork of the current cordova-plugin-barcodescanner repository that solved the same issue for me. https://github.com/ryanc35/cordova-barcodescanner-plugin/commit/1ca5684f812fbc149d8bc1b486882ecc36b8bef7

Regards,
Ryan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants