flutter_native_html_to_pdf 1.1.2 copy "flutter_native_html_to_pdf: ^1.1.2" to clipboard
flutter_native_html_to_pdf: ^1.1.2 copied to clipboard

This parckage is using to convert html string to pdf file

1.0.0 #

  • Initial release.

1.0.1 #

  • Add license.

1.1.0 #

  • Add convertHtmlToPdfBytes method to convert HTML to PDF as Uint8List without saving to a file
  • Improved performance for use cases that don't require saving PDF to disk
  • Added support for direct PDF bytes manipulation in Android and iOS native implementations
  • Updated example app to demonstrate both file-based and bytes-based conversion

1.1.1 #

  • Fix iOS color and font rendering: HTML to PDF conversion on iOS now properly renders CSS colors and custom fonts
  • Changed base URL in iOS from Bundle.main.bundleURL to "https://" to match Android behavior
  • Added PDF context attributes for better color rendering in iOS
  • Configured WKWebView with isOpaque = false and clear background for improved CSS support
  • Updated example app with enhanced HTML demonstrating colors and font styles

1.1.2 #

  • Fix iOS 26 compatibility: Fixed crash on iOS 26 caused by missing WKNavigationDelegate policy methods
  • Added decidePolicyForNavigationAction and decidePolicyForNavigationResponse delegate methods
  • These methods are now required by WebKit in iOS 26 to properly load HTML
  • Fixed issue sharing file cannot share in example project (Found in iOS 26)