Open FrancisDx opened 2 months ago
Thank you for creating your first issue. We appreciate your help in making this project better. We will look into it, and get back to you soon. Need help or want to discuss this issue? Join our Discord community here to ask questions and discuss this issue live!
📝 Describe the Bug
The file cannot be downloaded if it is loaded from the cache.
📖 Library Version
🚶 Steps to Reproduce
Please follow these steps to reproduce the issue:
🤔 Expected Behavior
download from cache as well.
💬 Additional Context
temp workaroud: delete cached pdf before opening PdfViewerActivity:
context?.cacheDir?.listFiles { _, name -> name.endsWith(".pdf") }?.forEach { it.delete() }