joltup/rn-fetch-blob

RN Fetch Blob gives warning of linking on react-native > 0.60 which should be removed from react-native.config.js

Hassan-Naeem-code opened this issue ยท 1 comments

Hi! ๐Ÿ‘‹

Firstly, thanks for your work on this project! ๐Ÿ™‚

Today I used patch-package to patch rn-fetch-blob@0.12.0 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/rn-fetch-blob/react-native.config.js b/node_modules/rn-fetch-blob/react-native.config.js
deleted file mode 100644
index 03c61b6..0000000
--- a/node_modules/rn-fetch-blob/react-native.config.js
+++ /dev/null
@@ -1,7 +0,0 @@
-module.exports = {
-  dependency: {
-    hooks: {
-      prelink: 'node ./node_modules/rn-fetch-blob/scripts/prelink.js',
-    },
-  },
-};

This issue body was partially generated by patch-package.

Hi @Hassan-Naeem-code how you added patch file for rn-fetch-blob.. can you share code for that?