Problem that I encountered:
When I called multiple RNFS.uploadFiles progress callbacks fire events for every upload started, not only event that related to that upload only.
If two uploads were started with jobId 1 and 2 - In progress callback I'll receive responses of jobId 1 and 2.
This patch is based on existing solution with RNFS.downloadFile progress callbacks and it helped me with this problem.
Hi, many thanks for this project!
Problem that I encountered: When I called multiple
RNFS.uploadFiles
progress callbacks fire events for every upload started, not only event that related to that upload only.If two uploads were started with
jobId
1 and 2 - In progress callback I'll receive responses ofjobId
1 and 2.This patch is based on existing solution with
RNFS.downloadFile
progress callbacks and it helped me with this problem.