joltup / rn-fetch-blob

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

Interceptor implementation wrong #597

Open TheHighriser opened 4 years ago

TheHighriser commented 4 years ago

Following line is wrong: https://github.com/joltup/rn-fetch-blob/blob/1933faf02341cbf6d6c3b70c5bfe042d8d71e257/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java#L396

Instead of chain.proceed(req) this should be chain.proceed(chain.request()).