Describe the bug
After the implementation, app launching and document scanning working fine . But if discard the scanning by close button app crashes in specific device (Samsung Tab)
To Reproduce
Example Steps to reproduce the behavior in sample app:
Set page limit to any number(sample: 5)
Click on 'Scan'
Click on capture button
Discard scanning by clicking close button
Getting error:
Failed to handle scanning result java.lang.IllegalStateException: Failed to handle result at com.google.mlkit.vision.documentscanner.internal.zzg.run(com.google.android.gms:play-services-mlkit-document-scanner@@16.0.0-beta1:12) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:246) at android.os.HandlerThread.run(HandlerThread.java:67)
With this error app crashes
If applicable, please include code snippet and sample input(image, video, text, etc)
Expected behavior
A clear and concise description of what you expected to happen.
Describe the bug After the implementation, app launching and document scanning working fine . But if discard the scanning by close button app crashes in specific device (Samsung Tab)
To Reproduce Example Steps to reproduce the behavior in sample app:
Failed to handle scanning result java.lang.IllegalStateException: Failed to handle result at com.google.mlkit.vision.documentscanner.internal.zzg.run(com.google.android.gms:play-services-mlkit-document-scanner@@16.0.0-beta1:12) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:246) at android.os.HandlerThread.run(HandlerThread.java:67)
If applicable, please include
code snippet
andsample input(image, video, text, etc)
Expected behavior A clear and concise description of what you expected to happen.
SDK Info:
Smartphone:
Development Environment: (For Android issue feel free to skip this section)