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

onDetect Running Multiple Times After AppLifecycleState Changed #536

Closed
Rqmco opened this issue Mar 13, 2023 · 3 comments
Closed

onDetect Running Multiple Times After AppLifecycleState Changed #536

Rqmco opened this issue Mar 13, 2023 · 3 comments

Comments

@Rqmco
Copy link
Contributor

Rqmco commented Mar 13, 2023

When you scan a code after changing the applifecyclestate it will call onDetect as many times as the applifecyclestate changed plus default. For example, you went to the home of the phone and back to the app twice, it will call on detect 3 times (one time default and the other 2 times because of the applifecyclestate changes).

@trdmm
Copy link

trdmm commented May 10, 2023

same problem

@navaronbracke
Copy link
Collaborator

With the new beta, version 5.0.0-beta.1, onDetect was removed in favor of listening to the barcodes stream directly.

Thus this issue should no longer occur.

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

4 participants