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

Password protected pdf files crash the app #196

Open
atharvaTyagi opened this issue Sep 17, 2021 · 1 comment
Open

Password protected pdf files crash the app #196

atharvaTyagi opened this issue Sep 17, 2021 · 1 comment

Comments

@atharvaTyagi
Copy link

I am unable to view password protected pdf files, is there an option and if not then the library should handle that exception. Thanks

@4brunu
Copy link
Contributor

4brunu commented Oct 13, 2021

Before opening the Password protected PDF file, you should use https://github.com/TomRoush/PdfBox-Android to check if the file is protected.
If it's protected, you should remove the protection using PDFBox, and only then you should use this library to show the PDF file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants