Describe the bug
PDFs do not open on iOS Chrome. I've tested Safari on iOS, Chrome and Firefox on Android, Chrome, Firefox and Chromium Edge on Windows and Mac, and Safari on Mac. All work, just not that iOS Chrome.
I'm porting code from an old PHP app, and the PDFs the PHP version creates will open in iOS Chrome.
To Reproduce
Steps to reproduce the behavior:
const buffer: Buffer = await pdftk
.input(blankPdfPath)
.fillForm(data)
.flatten()
.output();
Buffer is then uploaded to S3.
I tested that the PDF that's input can be opened in Chrome just fine.
PDF does not open. It downloads and asks what to open the file with (choosing Chrome again does not work).
Expected behavior
PDF should open in Chrome.
System info that creates PDF:
- Node version: 12
- OS: Ubuntu
- OS Version: 18.04, I believe
System info trying to open PDF:
- OS: iOS
- OS Version: 13
- Browser: Chrome
- Browser Version: any
Any other info?
I don't know what else might help you here... do you want one of the generated PDFs or the input PDF?
Describe the bug
PDFs do not open on iOS Chrome. I've tested Safari on iOS, Chrome and Firefox on Android, Chrome, Firefox and Chromium Edge on Windows and Mac, and Safari on Mac. All work, just not that iOS Chrome.
I'm porting code from an old PHP app, and the PDFs the PHP version creates will open in iOS Chrome.
To Reproduce
Steps to reproduce the behavior:
Buffer is then uploaded to S3.
I tested that the PDF that's input can be opened in Chrome just fine.
PDF does not open. It downloads and asks what to open the file with (choosing Chrome again does not work).
Expected behavior
PDF should open in Chrome.
System info that creates PDF:
System info trying to open PDF:
Any other info?
I don't know what else might help you here... do you want one of the generated PDFs or the input PDF?