hpoul / file_picker_writable

Flutter plugin to choose files which can be read, referenced and written back at a later time.
https://pub.dev/packages/file_picker_writable
MIT License
17 stars 13 forks source link

Handle unhandled exceptions reading file on Android #7

Closed amake closed 4 years ago

amake commented 4 years ago

Proposed solution to #6

I found exceptions on these paths were not handled. My method was to artificially throw a RuntimeException in copyContentUriAndReturnFileInfo and see what operations caused a crash.

amake commented 4 years ago

Closing in favor of #8