-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b64ad1
commit 99e7d8c
Showing
4 changed files
with
336 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
patches/react-native-blob-util+0.19.6.patch → patches/react-native-blob-util+0.19.8.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
diff --git a/node_modules/react-native-blob-util/fetch.js b/node_modules/react-native-blob-util/fetch.js | ||
index ed4e67f..3b6fef6 100644 | ||
index 4f52ad3..3e9166f 100644 | ||
--- a/node_modules/react-native-blob-util/fetch.js | ||
+++ b/node_modules/react-native-blob-util/fetch.js | ||
@@ -270,7 +270,7 @@ export function fetch(...args: any): Promise { | ||
@@ -271,7 +271,7 @@ export function fetch(...args: any): Promise { | ||
if (options.session) | ||
fs.session(options.session).add(data); | ||
} | ||
respInfo.rnfbEncode = rawType; | ||
- if ('uninit' in respInfo && respInfo.uninit) // event didn't fire yet so we override it here | ||
+ if ('uninit' in respInfo && respInfo.uninit && responseInfo) // event didn't fire yet so we override it here | ||
respInfo = responseInfo; | ||
resolve(new FetchBlobResponse(taskId, respInfo, data)); | ||
} | ||
|
||
respInfo.rnfbEncode = rawType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.