Issue with Admin Print Extension on Mobile Shopify Admin

Hi everyone,

One of my users has brought up an issue with my Print Extension that occurs when they are on the order details page on a mobile web browser (not the Shopify iOS/Android app, which doesn’t show the extension at all—there’s already a thread about that).

The Problem

On mobile devices (both Android and iPhone):

  1. The document preview modal in my Print Extension appears as expected.
  2. However, when the user clicks “Continue to Print” to bring up the native print dialog:
  • On Android: The print dialog tries to print the order summary page (similar to Shopify’s “Print Order Confirmation” option) instead of the custom invoice document generated by my app. (I can’t test Androids myself unfortunately see screenshots from user below).
  • On iPhone (Safari & Chrome): The print dialog shows a blank page with just the webpage’s URL instead of the intended document.

Android Screenshots:

iPhone Screenshots:

What I’ve Tried

The src I’m passing into <AdminPrintAction> is an HTML document generated by my app. I suspected that mobile browsers or devices might not handle HTML well in this context, so I converted the document into a PDF:

  • The PDF is stored on my server and served via the public/uploads directory.
  • Example of the src I used: <AdminPrintAction src="/uploads/1734717953008.pdf">.

Unfortunately, even with the PDF, the results remain the same:

  • On iPhone: It still displays a blank page in the print dialog.

My Question

  1. Is this behavior intentional or a known limitation of <AdminPrintAction> on mobile devices? I know my extension does not work/not visible on the Shopify mobile App, but it seems like if you are accessing it through a browser it should work?
  2. Saving the PDF to the filesystem and passing that as the src might not be the right move?

I appreciate any guidance or ideas on what I might be missing or how to troubleshoot further. Thanks in advance for your help!