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
[web] Bad state: stream has already been listened too #64
Comments
Yes I'm facing same issue. |
Same problem here |
Fixed in #76, waiting for merge |
@juliansteenbakker please merge new update and also update this package as well. |
@Antoni-Czaplicki owner not merging your request, we have used this package and still facing this issue. |
Thanks for reporting. The suggested answer is depending on an external library which i rather not have. I am looking for a solution without the need of an external library. We just need to check wether the stream is already listened too. |
I found a solution to this problem. If you change |
I had the problem because allowDuplicates was set to false but I was scanning the same code. So My solution above solves the issue. |
Still I'm getting this problem. I'm using the latest version. Try on: https://flutlab.io/sandbox/cd165080-8a01-4925-b1f8-6e74cf288f39 |
Please update your pubspace.yaml file |
Thanks. That helps me. |
On my web app, I have 2 different screens where I want to use MobileScanner. Both are stateful widgets where I initialize the controller in the state, and dispose it in the state's
dispose()
function.When I use the scanner in the first screen, everything works fine. Then I switch to the other screen and I get this error:
The text was updated successfully, but these errors were encountered: