-
-
Notifications
You must be signed in to change notification settings - Fork 689
Open
Labels
Description
After upgrading to Flutter SDK 3.32.0, PDF generation using the printing package (^5.14.2) stopped working in release mode on Android. The same code works perfectly in debug mode and with earlier Flutter versions like 3.29.0. When running in release, the app shows the error PDF Error: Unable to display the document, without crashing or throwing any exceptions. I've confirmed this happens even with a minimal example using pdf.Document() and Printing.layoutPdf(). No ProGuard rules are added manually, and all permissions are correctly set. This seems to be a regression or compatibility issue introduced in Flutter 3.32. Please investigate or guide if any changes are required in the plugin or build configuration to fix this.
atebitftw