Closed nikhilbhawsinka closed 3 years ago
I have also tried let pdflocation_2 = RNFetchBlob.fs.dirs.DownloadDir + '/' + 'invoicetest.pdf';
,
the location is /storage/emulated/0/Download/invoicetest.pdf
but still cant find the pdf
What did you do to resolve your problem ?
i have this issue too
It's not in the Download folder. I clicked around and found them in Files > device name > DCIM
Have a base 64 from which i want to convert to PDF. I am using run time permission in the following way:
Calling this function by passing a location obtained by
let pdfLocation = RNFetchBlob.fs.dirs.CacheDir + '/' + 'test.pdf';
and a base64 which i have from my backend. The location obtained looks like:/data/user/0/com.billinvoicenew/cache/test.pdf
, and the response of.then((res) => {console.log("File : ", res)})
isFile : 15363
which means the file has been created but can not find the file on my mobile. Base64 is correct have validated it online. Please help