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 }}
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
Hi. I tried to download some image from API using Android Download Manager and got it, when the image had been downloaded i can open it by tap on Download Manager notification, but when i opening the data path I see only the file Download-1 without any extension and which I can not open. How can I fix this to get just an image?
Here is my code:
savePhoto=()=>{letpath=RNFetchBlob.fs.dirs.DownloadDir;// console.log(path)RNFetchBlob.config({appendExt : 'jpg',addAndroidDownloads : {useDownloadManager : true,// title : new Date().toLocaleString() + '.jpg',notification : true,path: path,mime : 'image/jpg',mediaScannable: true,}}).fetch('GET','https://path_toimage.jpg').then(r=>{console.log(r,'then')}).catch(err=>console.log(err,'error'))}
The text was updated successfully, but these errors were encountered:
Hi. I tried to download some image from API using Android Download Manager and got it, when the image had been downloaded i can open it by tap on Download Manager notification, but when i opening the data path I see only the file Download-1 without any extension and which I can not open. How can I fix this to get just an image?
Here is my code:
The text was updated successfully, but these errors were encountered: