joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.81k stars 771 forks source link

The static context may cause problems in multiple ReactInstance mode. #757

Open jcdhlzq opened 2 years ago

jcdhlzq commented 2 years ago

https://github.com/joltup/rn-fetch-blob/blob/dcbde6f7e12b666b9fe1c8c4a8e2cb04e0048326/android/src/main/java/com/RNFetchBlob/RNFetchBlob.java#L43

The static context may be assigned different reactcontext serveral times, which will probably cause unexpected things. For example, event listeners cannot run in an expected way, because the context is not right!

retyui commented 2 years ago

Hi This module is unmentionable ⚠️! please use fork: https://github.com/RonRadtke/react-native-blob-util