When you try to call another .extractText without waiting for the first one to finish. The app will crash and give you an address error. The invoke method is async in Flutter, why should it be async too in Java too? (new Thread())
Without making a new Thread, I'm able to call .extractText multiple times.
When you try to call another
.extractText
without waiting for the first one to finish. The app will crash and give you an address error. The invoke method is async in Flutter, why should it be async too in Java too? (new Thread()
) Without making a new Thread, I'm able to call.extractText
multiple times.