Pdf-Viewer
Pdf-Viewer copied to clipboard
[BUG] Downloading a password protected file gives SecurityException.class
📝 Describe the Bug
When calling initWithUrl with the url of the pdf file which is password protected, app crashed for Security Exception. Do we have any way to open password protected file without crashing it?
📖 Library Version
- PDF Viewer Version: [e.g., 2.0.0]
🚶 StackTrace
FATAL EXCEPTION: main
java.lang.SecurityException: password required or incorrect password
at android.graphics.pdf.PdfRenderer.nativeCreate(Native Method)
at android.graphics.pdf.PdfRenderer.