-
Notifications
You must be signed in to change notification settings - Fork 24.1k
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
[XMLHttpRequest] onprogress callback #3181
Comments
Good question! I don't think there is one currently. |
@facebook-github-bot answered |
Closing this issue as @mkonicek says the question asked has been answered. Please help us by asking questions on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. |
Is there any update on this? |
I'm seeing the same thing. Not really sure how to work around it. |
Having the same issue, any update ? |
Thanks for the heads up @ryanlntn !! I'll try it :) |
I'm on RN=0.42 and using XHR with a Content-Length set before uploading begins. I'm seeing the progress events, but no bytesSent or length or anything else that I can use to compute a progress%. Anybody else have luck with this? |
I'm also seeing total, but no loaded progress on both RN=0.42 and RN=0.46.4 |
Gives loaded progress back to XMLHttpRequest
I have a workaround for it at least. Created a pull request here In Change:
To
|
Gives loaded progress back to XMLHttpRequest
XMLHttpRequest
currently doesn't support theonprogress
callback for non-uploads. Any other way to estimate the progress of a GET request?The text was updated successfully, but these errors were encountered: