Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Getting Download file is not a valid PDF in some pdfs #179

Open
sumit7577 opened this issue Mar 10, 2025 · 2 comments
Open

[BUG] Getting Download file is not a valid PDF in some pdfs #179

sumit7577 opened this issue Mar 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@sumit7577
Copy link

sumit7577 commented Mar 10, 2025

📝 Describe the Bug

while i open some pdf from remote url its saying Downloaded file is not a valid PDF

📖 Library Version

pdfViewer version-"2.2.0"

🚶 Steps to Reproduce

Please follow these steps to reproduce the issue:
in some pdf its giving java.io.IOException: Downloaded file is not a valid PDF
2025-03-10 10:31:41.737 20426-20426 System.err org.student.allcoaching W at com.rajat.pdfviewer.PdfDownloader$downloadFile$2.invokeSuspend()
you can try this pdf url for test https://allcoaching-bucket.b-cdn.net/course/6/docs/12416913800.pdf

🤔 Expected Behavior

i opened this pdf using native PdfRenderer and its opening fine

Image

🖼️ Screenshots/Videos

If applicable, add screenshots or videos to help explain your problem.

📱 Smartphone Info:

android 14 redmi note 13

@sumit7577 sumit7577 added the bug Something isn't working label Mar 10, 2025
Copy link

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!

@afreakyelf
Copy link
Owner

Hey Sumit, if file is not confidential, could you please share the url with me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants