Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FS.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ var RNFS = {

if (options.resumable) {
subscriptions.push(RNFS_NativeEventEmitter.addListener('DownloadResumable', (res) => {
if (res.jobId === joibId) options.resumable(res);
if (res.jobId === jobId) options.resumable(res);
}));
}

Expand Down
2 changes: 1 addition & 1 deletion RNFSManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ + (BOOL)requiresMainQueueSetup
if (hasResumableCallback) {
params.resumableCallback = ^() {
if (self.bridge != nil)
[self sendEventWithName:@"DownloadResumable" body:nil];
[self sendEventWithName:@"DownloadResumable" body:@{@"jobId": jobId}];
};
}

Expand Down