Closed lbrutti closed 4 years ago
For those who may encounter an analog issue:
it seems like the problem lied in css rules in the form of:
page-break-<xxx>
Replacing page-break
with break-<xxx>
solved the issue.
As in MDN WebDocs is now deprecated. Weirdly enough, break-<xxx>
syntax is not recognized by Android, but that's outside the issue's scope.
Hello, I need to print a webview both in iOs and Android. In Android everything works fine while in iOs, print dialog is opern but no content is displayed.
Debugging plugin native code, I found multiple calls to these lines in
APPPrinter.m
While the first time,
content
contains webview html, the latter is set tonil
, is it normal? Here's the snippet used to invoke plugin.here's my
ionic info
output:Package json :
Thanks for your support!