Closed tomwyr closed 4 years ago
I noticed that the issue doesn't seem to appear on current master branch. Do you plan to update the pub package anytime soon?
Hi @tomwyr
Thanks for your PR, like you said I'm already fixing it on master branch. For last couple of months, I am heavily using it on my projects. Sometimes I do a lot of breaking changes, add some functionality, fixing bugs, improving scanning process, making it easy to use and integrate within your flutter projects etc.
I hope I can publish it soon after finishing my current projects :D
In a specific scenario requesting location permission causes application to crash:
initializeScanning
that also requests location permissions.flutterResult
instance (which is not set to null since theinitialize
method failed before reaching the code that clears it).java.lang.IllegalStateException: Reply already submitted
.\ This is the place in code that throws initially because of empty
permissions
andgrantResults
arrays:Which results in the following exception: