pdf-l4 icon indicating copy to clipboard operation
pdf-l4 copied to clipboard

iOS -- In-browser encoding issues

Open fredlawl opened this issue 10 years ago • 1 comments

I am using this plugin in a Laravel install for a client of ours. Here's what's happening:

Android: auto-download and view fine Desktop/Laptop: all major browsers auto-download/open and view fine

iOS iPhone, and iPad (even on chrome and safari apps) the PDF's are downloading and being viewed as if they were improperly encoded. I traced back the code to the core of the application that the downloads were being sent the correct headers. Does this have to do with some obscure iOS 7.x bug?

PDF::load($html, 'A4', 'portrait')->download( ... )

fredlawl avatar Aug 04 '14 21:08 fredlawl

Sorry but I'm an Android user so I can't test...

thujohn avatar Aug 04 '14 21:08 thujohn