Skip to main content
Participant
February 17, 2025
Question

PDF Embed API - Page error on certian IOS devices on safari

  • February 17, 2025
  • 2 replies
  • 484 views

Hi,

We are encountering an issue (please find the attached image) when loading a webpage using the Adobe PDF Embed API. This issue occurs only on certain iPhone devices and exclusively in Safari.

We observed this issue on an iPhone 13 running iOS 15.0, where the page fails to load properly. While it also occurs on some other iPhone models, it functions as expected on most versions and devices.

Initially, the page loads correctly, but it then automatically reloads and breaks. After troubleshooting, we identified that the issue is caused by the PDF Embed API. Removing the API code allows the page to function as expected.

We would appreciate any assistance in resolving this issue, as it is impacting our production environment and requires an urgent fix.

Thank you!

 

 

 

2 replies

Participant
February 19, 2025

I think I would rather see your code to see if there is something hidden in there that might cause this issue.

Adobe Employee
February 19, 2025

The Codepen referenced above is my code.

Participant
February 20, 2025

Yes  the page crashes even with your code example, how can we fix this

Adobe Employee
February 18, 2025

How are you loading the PDF, from a URL or from a Promise?

Participant
February 19, 2025

Hi,

We are loading the PDF from a URL, but this shouldn't be relevant to the issue, as the problem isn't caused by our custom code.

To demonstrate, try opening the following CodePen example on an iPhone 13 running iOS 15.0 (I tested using BrowserStack). Click on the "Click to add PDF" button, and you'll see the page reload and crash:
https://codepen.io/wescouch/pen/vYxmrJp

 

Additionally, I tested the official Adobe PDF Embed API documentation's code snippet, and the page still crashes:
https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/gettingstarted/

 

This suggests that the issue is inherent to the Adobe PDF Embed API rather than our implementation.