shirsh94 / flutter_doc_scanner

MIT License
7 stars 7 forks source link

The app crashes after I tap "Done" #1

Closed Mozzus closed 6 months ago

Mozzus commented 7 months ago

D/AndroidRuntime(10695): Shutting down VM E/AndroidRuntime(10695): FATAL EXCEPTION: main E/AndroidRuntime(10695): Process: com.example.checker, PID: 10695 E/AndroidRuntime(10695): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=213, result=-1, data=Intent { (has extras) }} to activity {com.example.checker/com.example.checker.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Map.put(java.lang.Object, java.lang.Object)' on a null object reference

shirsh94 commented 7 months ago

Hi @Mozzus Thank you for reporting the issue. I've tested the library on Android, and it seems to be working fine on my end. However, I understand that you're experiencing a crash after tapping "Done."

To help us diagnose the problem, could you please provide more details about the environment in which the crash occurs (e.g., device model, Android version)? Additionally, could you try running the example provided in the repository (https://github.com/shirsh94/flutter_doc_scanner/blob/main/example/lib/main.dart) and let us know if you encounter the issue there as well?

If you encounter the issue again, please feel free to comment below, and we'll investigate further. Thank you for your patience and cooperation.