-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getDocumentContent
takes too long to return when file is too large
#91
Comments
Hi, I'm very interested in a stream based API to read and write documents as I'm building an app that is potentially used to upload and download very big files from/to local storage. This is also a feature, so please add the label and change the title :) |
Listed, would be useful to have some way to read line by line (or maybe chunks?) with some kind of metadata (current line|chunks, max lines|chunks) rather of reading entire file at once. |
i'm waiting.. this update... when update? this function? thanks your support. |
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: