Open SupriyaGo opened 10 months ago
@SupriyaGo Can you verify if path to your file contains empty spces or special characters, because it looks like is the root couse in my case.
Having the same problem here, did you ever find a fix for this? The path from local file system is same for online or offline but yet as soon as I'm offline it doesn't load past 0.00%
"react": "18.2.0",
"react-native": "0.72.8",
"react-native-pdf": "6.5.0", (can't update any further as breaks our build)
What
react-native
version are you using? - 0.71.4What
react-native-pdf
version are you using? - 6.6.2What platform does your issue occur on? (android/ios/both) - android
Describe your issue as precisely as possible : I am building a React native application and I want to hide some PDF files that are coming from API and want to download those files just like YouTube does when you download the video so that no one can find them on the phone.
Also, I want access to the downloaded file. When user is offline, user can open that file in the app.
I am using react-native-blob-util and react-native-file-access for this feature.
Code to store the files -
Save to Fetch the files -
Issue: Files are not loading from the file-system offline. I can able to fetch the file paths but when passing it in component , not working.
No error message in console.