packages.flutter icon indicating copy to clipboard operation
packages.flutter copied to clipboard

[native_pdf_renderer] Can not open PDF files with password protection

Open bgMarkevych opened this issue 6 years ago • 7 comments

native_pdf_renderer 1.4.1 Can not open PDF files with password protection image

bgMarkevych avatar Jul 17 '19 05:07 bgMarkevych

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

IchordeDionysos avatar Nov 26 '19 16:11 IchordeDionysos

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).

nilsreichardt avatar May 17 '20 22:05 nilsreichardt

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

SergeShkurko avatar May 18 '20 07:05 SergeShkurko

is there any update for password protected pdf? If possible to add password?

Shvet avatar Aug 14 '21 12:08 Shvet

anyone who knows how to handle password protected pdf and other files like doc and excel and ppt also in flutter

ahsan4444 avatar Mar 03 '22 09:03 ahsan4444

@ahsan4444 there is already library for it.

Shvet avatar Mar 03 '22 09:03 Shvet

Any update for this issue?

rodrigorafaeldamaceno avatar Jul 21 '22 14:07 rodrigorafaeldamaceno