You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
I am trying to upload a image to an Amazon S3 Bucket. So I first use the react native fetch blob to read file from the react native camera cache using RNFetchBlob.fs.readFile method and then upload it to the S3 bucket. But the readFile method is taking too much time making the ui unresponsive for quite a few seconds. I also tried readStream method which didn't solve the problem either.
@developercode1 What was the solution? We are having serious perf issues on various operations. I suspect it's because we are running operations on multiple files in "parallel" with Promise.all (.fetch, unlink, .exists, readFile and so on) and this blocks the main thread. This isn't a problem on iOS for us but a massive problem on Android so I'm curious to hear about your experience.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to upload a image to an Amazon S3 Bucket. So I first use the react native fetch blob to read file from the react native camera cache using RNFetchBlob.fs.readFile method and then upload it to the S3 bucket. But the readFile method is taking too much time making the ui unresponsive for quite a few seconds. I also tried readStream method which didn't solve the problem either.
Below is the function trying to upload image
So is there any way by which we can either reduce the lag time or run it in background so that it doesn't affects the UI?
The text was updated successfully, but these errors were encountered: