Skip to content

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Nov 5, 2024

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

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 (zulip#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: zulip#5903
@gnprice gnprice requested a review from chrisbobbe November 5, 2024 05:01
@chrisbobbe
Copy link
Contributor

LGTM, thanks! Merging.

@chrisbobbe chrisbobbe merged commit 715d60a into zulip:main Nov 5, 2024
1 check passed
@gnprice gnprice deleted the pr-fetch-blob branch November 5, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The app keep getting crash during downloading any image on lightbox.
2 participants