Skip to content

Commit 715d60a

Browse files
gnpricechrisbobbe
authored andcommitted
deps: Use a patched rn-fetch-blob to fix Android 14+ crash
This updates rn-fetch-blob to a version with one cherry-picked commit atop the v0.11.2 we were previously using: zulip/rn-fetch-blob@e17b2a51c The rn-fetch-blob package itself is no longer maintained: joltup/rn-fetch-blob#863 There's a fork that is maintained, `react-native-blob-util`: https://npmjs.com/package/react-native-blob-util That fork addressed the Android 14 requirement to set an explicit RECEIVER_EXPORTED flag (#5903), merging a fix: RonRadtke/react-native-blob-util#303 RonRadtke/react-native-blob-util#306 Our fix is cherry-picked from that one. (If this app weren't a legacy codebase in maintenance mode, we'd take the time to upgrade this dependency more generally, probably switching to the react-native-blob-util fork. As is, we'll skip that and use the time to focus on completing the new Flutter app.) Fixes: #5903
1 parent fc23edd commit 715d60a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"redux-logger": "^3.0.1",
7878
"redux-thunk": "^2.1.0",
7979
"reselect": "^4.0.0",
80-
"rn-fetch-blob": "^0.11.0",
80+
"rn-fetch-blob": "zulip/rn-fetch-blob#e17b2a51c",
8181
"timezone": "^1.0.13",
8282
"zulip-markdown-parser": "^1.0.6"
8383
},

yarn.lock

+2-3
Original file line numberDiff line numberDiff line change
@@ -11349,10 +11349,9 @@ rimraf@~2.4.0:
1134911349
dependencies:
1135011350
glob "^6.0.1"
1135111351

11352-
rn-fetch-blob@^0.11.0:
11352+
rn-fetch-blob@zulip/rn-fetch-blob#e17b2a51c:
1135311353
version "0.11.2"
11354-
resolved "https://registry.yarnpkg.com/rn-fetch-blob/-/rn-fetch-blob-0.11.2.tgz#bdc483bf1b0c3810d457983494a11fbada446679"
11355-
integrity sha512-oKszdNtA7vZ56d0Rfr+RDEUexwlZxu/HOqwULa36PRHhQsTO5ia7uKk+va3WzuwYxzhF9e0bY8n3k+GC6Df14A==
11354+
resolved "https://codeload.github.com/zulip/rn-fetch-blob/tar.gz/e17b2a51ce4480ccac07f11ef1f28d76061af592"
1135611355
dependencies:
1135711356
base-64 "0.1.0"
1135811357
glob "7.0.6"

0 commit comments

Comments
 (0)