getDocumentContent
takes too long to return when file is too large
#91
Labels
bug
Something isn't working
Describe the bug
getDocumentContent
function "crash" the app if the document is too long.This happens when trying to read apk files.
To Reproduce
Open the example app and try to click over an apk file card.
Expected behavior
There's some way to asynchronously read the file contents.
Screenshots
Not applicable.
Additional context
Possible solutions:
Stream
that emits a new event right after each new line rather of reading all lines then returning.The text was updated successfully, but these errors were encountered: