Replies: 9 comments 9 replies
-
pdf_render could not support password because the backend for Android is PdfRenderer and it does not support password. |
Beta Was this translation helpful? Give feedback.
-
Kindly see the screenshot. |
Beta Was this translation helpful? Give feedback.
-
@reddeath1 Could you give me your |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Just a rough testing, but if I change pdfrx's pubspec to support Flutter 3.12.0/Dart 3.1.0, it works well except Web.
|
Beta Was this translation helpful? Give feedback.
-
Mmm, I'm testing it on Dart 3.1.0, but NativeCallable.listener at least requires 3.2.0... |
Beta Was this translation helpful? Give feedback.
-
I'm still working on a workaround on Flutter 3.13.0. |
Beta Was this translation helpful? Give feedback.
-
I manage to narrow down the errors by upgrading other plugins as well and started to work till this came. `Running Gradle task 'assembleDebug'... You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply warning: unknown enum constant Mode.LOCAL FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
2: Task failed with an exception.
|
Beta Was this translation helpful? Give feedback.
-
See pdfrx discussion #81. |
Beta Was this translation helpful? Give feedback.
-
Hello I m currently using this, package on my app, then migrate to the new one.. my app is it's completion stage,
But the issue is once it's in production all pdf will be password protected and I don't want users to be prompted to enter passwords which they don't even have. so the question is how to pass the password along on this methods.
PdfDocument doc = isFile
? await PdfDocument.openFile(f)
: await PdfDocument.openData(uint8List);
Beta Was this translation helpful? Give feedback.
All reactions