You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android 14: Error: Download manager download failed, the file does not downloaded to destination. #330
When I try to download the file I get an error (Error: Download manager download failed, the file does not downloaded to destination.), but the file itself is downloading
@marcelormourao no Its also fail on Android 13 devices as well.
initially I'm facing Cannot read property 'rnfbEncode' of undefined to fix this I wrap the path with ReactNativeBlobUtil.wrap(path) but when downloading start its save on download folder but also its showing me Download manager download failed.
Reacted by Marcelo Mourão, Dominik Tenelsen, NishantZet and Victor-Metropolis
The same problem happened! But after downgrading to react-native-blob-util@0.19.4 based on this this
Everything is working again! But still need to look into that issue.
using 0.19.4 isn't working for me. I am getting same issue. File is downloaded, but getting the download manager error.
I can see the file in the my app's download folder, but from the download manager pop-up it says "can't open file".
I tried writing to root Download folder, but seeing same behavior.
I have RN 0.73.3 and API Level = 33, means I should care about the permissions.
For anyone else having this issue, the issue comes when we extract the filePath from the url and pass it in the config. if we url has spaces (%20 when encoded), it throws this error.
try decoding it before passing to the config of blob util.
Activity
anastobe commentedon Jan 22, 2024
same issue any solution?
danish5454 commentedon Jan 22, 2024
facing same issue while downloading.....
marcelormourao commentedon Jan 25, 2024
Same issue here. It seems to fail only in Android 14.
danish5454 commentedon Jan 25, 2024
@marcelormourao no Its also fail on Android 13 devices as well.
initially I'm facing
Cannot read property 'rnfbEncode' of undefinedto fix this I wrap the path withReactNativeBlobUtil.wrap(path)but when downloading start its save on download folder but also its showing meDownload manager download failed.imdangle commentedon Jan 29, 2024
The same problem happened! But after downgrading to react-native-blob-util@0.19.4 based on this this
Everything is working again! But still need to look into that issue.
NishantZet commentedon Feb 5, 2024
@dangleh Did you figured out any solution for this ?
mollyOver commentedon Feb 9, 2024
using 0.19.4 isn't working for me. I am getting same issue. File is downloaded, but getting the download manager error.
I can see the file in the my app's download folder, but from the download manager pop-up it says "can't open file".
I tried writing to root Download folder, but seeing same behavior.
I have RN 0.73.3 and API Level = 33, means I should care about the permissions.
danish5454 commentedon Feb 27, 2024
version
0.19.8also shave same issueNishantZet commentedon Feb 27, 2024
Downgrading to version 0.19.4 worked for me, make sure you are now using ^for the package
AntonyARHS commentedon Apr 5, 2024
Having the issue with 0.19.4 too. The image is correctly downloaded but still have this error...
NishantZet commentedon Apr 5, 2024
@AntonyARHS can you share your package.json file?
usama-homage commentedon Apr 15, 2024
0.19.9 have same issue
Haider-Ali-7 commentedon Jun 3, 2024
Can you try using
react-native-blobl-utilpackage instead ofrn-fetch-blobasrn-fetch-blobis not maintained anymore.jedaydiya commentedon Sep 27, 2024
Any updates on this?
Encountering the same issue. It just downloads in Android/Data the folder of the app
denysoleksiienko commentedon Jan 24, 2025
Same issue. Any update?
CamiloGallegoM commentedon Feb 7, 2025
I have the same problem, does anyone know of any progress on this issue?
kartikbhalla12 commentedon May 14, 2025
For anyone else having this issue, the issue comes when we extract the filePath from the url and pass it in the config. if we url has spaces (%20 when encoded), it throws this error.
try decoding it before passing to the config of blob util.
path: decodeUri("/abc/filename%20extracted%20from%20url.pdf")
it will resolve to
path: "/abc/filename extracted from url.pdf"
this worked for me.
izakarzheieva commentedon Nov 27, 2025
remove fileCache: true resolved for me