-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 PDFs not working #1172
Comments
I faced the same issue. i solved it by
here is my code ` pdfView.fromUri(documentFile.getUri())
|
Im using the latest stable and beta version from the library.
Just implemented the PDFView like in the library description.
Load the pdf from url into local cache. I open it with the following snippet
bindings.pdfView
.fromUri(Uri.fromFile(file))
.defaultPage(0)
.enableSwipe(true)
.swipeHorizontal(true)
.enableDoubletap(true)
.defaultPage(0)
.enableAnnotationRendering(false)
.password("myPass")
.load()
If i duplicate the pdf and remove the password, its working. So the integration should be fine - only the password is not working.
Any hints what im doing wrong? Multiple times checked the password (im able to open the pdf with the same password on my macbook).
The text was updated successfully, but these errors were encountered: