packages.flutter
packages.flutter copied to clipboard
[native_pdf_renderer] Can not open PDF files with password protection
native_pdf_renderer 1.4.1
Can not open PDF files with password protection

I am having a similar issue...
When I add the dependency to my pubspec.yaml and the run flutter packages get I get this error:
Couldn't read file LocalFile: '/Users/dennis/develop/flutter/.pub-cache/hosted/pub.dartlang.org/native_pdf_renderer-1.6.0/android/src/main/kotlin/io/scer/pdf/renderer/NativePDFRendererPlugin.kt' even though it exists. Please verify that this file has read permission and try again.
I'm on v1.6.0
Also, I am using a MacBook Pro, 10.14.6 Mojave
Is there any workaround? For example to detect PDFs with password protection and then just open the file (with OpenFile package -> so the standard PDF app on a device will handle this problem).
this problem can be solved for platforms web, ios, macos I do not know how it can be solved for android, I will be glad of any help in this matter
is there any update for password protected pdf? If possible to add password?
anyone who knows how to handle password protected pdf and other files like doc and excel and ppt also in flutter
@ahsan4444 there is already library for it.
Any update for this issue?