-
Notifications
You must be signed in to change notification settings - Fork 181
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
onSuccess called before camera activity closed #47
Comments
uniphonic
added a commit
to uniphonic/csZBar
that referenced
this issue
Feb 29, 2016
wait until viewController is dismissed before callback, fixes tjwoon#47
This doesn't work sometimes, I could avoid this issue removing the error callback |
Interesting @MaicolBen, do you have any idea on how to fix it within the Android plugin code? |
If not, do you have a reproduction test-case I could use to attempt to fix it for #48? |
dcousens
added a commit
that referenced
this issue
Apr 12, 2016
wait until viewController is dismissed before callback, fixes #47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having the camera view still running (while it is closing) AFTER the
onSuccess
callback is called means other plugins such ascordova-plugin-dialog
won't work and have an internal violation.This typically means I have to add a
setTimeout(..., 1000)
to my QR scanner to avoid the application from failing to re-open those plugins.The simplest example of this would be (using
cordova-plugin-dialog
):The text was updated successfully, but these errors were encountered: