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 772 forks source link

Crash android app on some devices #654

Open MahmoudElmoghazy opened 3 years ago

MahmoudElmoghazy commented 3 years ago

Hello i have big issue on some android devices many devices have no problem and working fine but some devices goes crash when i checked the google play console crash report it give me the following error

3b0cc287-1f5a-4342-b26c-3f4f96d2d788

Etienne-M commented 3 years ago

I have a similar issue :

Fatal Exception: java.lang.ClassCastException
okhttp3.internal.http.RealResponseBody cannot be cast to com.RNFetchBlob.Response.RNFetchBlobFileResp
vivekverma1993 commented 3 years ago

Fix is already there in the master branch, but the Maintainer is not creating a release.

Workaround is to use

"rn-fetch-blob": "git+https://github.com/joltup/rn-fetch-blob.git"

in your package.json