We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3e5a82 + f885f97 commit d5a8831Copy full SHA for d5a8831
FS.common.js
@@ -513,7 +513,7 @@ var RNFS = {
513
514
if (options.resumable) {
515
subscriptions.push(RNFS_NativeEventEmitter.addListener('DownloadResumable', (res) => {
516
- if (res.jobId === joibId) options.resumable(res);
+ if (res.jobId === jobId) options.resumable(res);
517
}));
518
}
519
RNFSManager.m
@@ -545,7 +545,7 @@ + (BOOL)requiresMainQueueSetup
545
if (hasResumableCallback) {
546
params.resumableCallback = ^() {
547
if (self.bridge != nil)
548
- [self sendEventWithName:@"DownloadResumable" body:nil];
+ [self sendEventWithName:@"DownloadResumable" body:@{@"jobId": jobId}];
549
};
550
551
0 commit comments