wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.6k stars 557 forks source link

about file downloaded or not. #711

Open RajeshSenapti opened 1 year ago

RajeshSenapti commented 1 year ago

In my case i need to show to end user which pdf is already downloaded which one not. if pdf present in cache it should show delete option, if not present then it should show download option. how i can access cache store, where pdfs are stored after downloading?????

BraveEvidence commented 1 year ago

This could help https://www.youtube.com/watch?v=Afrd4z1aMNM https://www.youtube.com/watch?v=AHo--82qk2o

rajivchaulagain commented 1 year ago

download and store in asyncstorage and then check if user has downloaded or not.