Hey @solutions,
Thanks for the update! I was just about to write you back too. It appears to be a bug in iOS PDF handling, as far as I can tell. I hooked up an iOS device to a debugger and everything from the network level seemed fine, so it doesnât seem to be an issue with DatoCMS or our CDNs (Cloudflare, in this case).
Conversely, that file by itself also crashes the PDF viewer even when itâs on the iOS device itself and opened locally, bypassing DatoCMS altogether.
It also crashes when I put it on another file host for testing.
It does open fine on 3rd-party PDF viewers (like the Google Drive PDF viewer) when the rendering pathway is bypassed.
It also loads fine on an iOS simulator on a Mac (which isnât 100% the same as a real iOS device). This all suggests to me, as youâre noticing, that itâs probably the PDF itself
I donât think thatâs something we can detect and fix on our end, since we only handle the network traffic and not the content within the PDFs. We wouldnât be able to scan it and make sure it works. This may be an issue between Adobe and Apple to resolveâŚ
FYI, I was able to get a working version by running your PDF through the macOS Preview app and then exporting it as PDF/A (which embeds all graphics, etc.), as in: https://www.datocms-assets.com/138875/1724043405-pdf-a.pdf
It does result in a larger file size, though. I think in Acrobat or InDesign you can process the PDF into an earlier or lighter sub-version of PDF (like the âPrint Optimized versionâ). That may or may not help?
I donât believe there is anything more we can do on this front. Do you? If you have any ideas, I can pass them along, but as far as I can tell, this is an Adobe/Apple PDF rendering issue, not a CMS/CDN glitch. Does that seem like a fair assessment to you?