Hello,
Preparing preview keeps running When I try to share a PDF the print dialog has been opened but the page and save pdf button don't load on the pdf dialog box. It was working fine on iOS.
I have created a new ionic Cordova project with Angular 13
downloadPDF(title?: string) {
const options = {
documentSize: 'A4',
type: 'share',
fileName: `test.pdf`,
};
this.pdfGenerator
.fromData('<html><h1>Hello World</h1></html>', options)
.then((base64: any) => {
alert('OK ' + base64);
})
.catch((error: any) => {
alert('error ' + error);
});
}

Hello,
Preparing preview keeps running When I try to share a PDF the print dialog has been opened but the page and save pdf button don't load on the pdf dialog box. It was working fine on iOS.
I have created a new ionic Cordova project with Angular 13