0

In react native library rn fetch blob i want to fetch data from api and save. The problem i am facing is that i want to save the file from api only after downloading complete. And if downloading cancelled there is no file to be stored . Is there any solution for this . Thanks all

Arjun_B
  • 41
  • 7
  • is it possible to catch the error, and use react-native-fs to delete the unfinished file? – peng37 Aug 31 '22 at 21:29
  • There is an option to delete manually like react native fs. So no need of another package to delete it . my doubt is when deletion cancelled in middle of downloading, there should ne no file – Arjun_B Sep 05 '22 at 18:34

0 Answers0