How to download pdf file in webviewer and store with tiny dp and later show it in app

files should hiden in out side the app can any one help me?

What are you trying to say?

save the pdf file in storage with tiny dp and display it to the user without internet how can we do this

There is always trick and you should know basics that tinydb is for string storage not for file.
Second you can do that after download move file to assets or anywhere and change the file extension from .pdf to .jpg or anything so it show but it didn’t start from user and store path in tinydb.
When you want to access then rename this file again to .pdf and read and when close again change extension.
There is more tricks to do that search on google

1 Like