IPad POS App Extensions iOS 18x Does not immediately load

I posted this to the partner slack account.

We recently had to change our POS Extensions to the new POS UI Extensions. While testing this, we encountered an issue where the UI Extension does not load on the Order Complete screen, but loads on the Order Show screen.

I can share some videos if needed.

Basically, tapping the UI Extension will show the popup, and show a loading icon. Our server completes the request successfully but the request never resolves in the POS App.

Using the Safari inspector, i see that the request is waiting to resolve, as soon as I close the POS Extension popup, the request resolves as a 200.
We had 2 different iPads, iOS 17x did not have this issue, when I upgraded my iPad to 18x i was able to re-produce the issue.

Further debugging notes:
We didn’t see any errors when debugging, just that the request is made, completes successfully on the server, but never resolves in the client.

We’ve found that this works for the POS App in iOS 18x on the iPhone, but post purchase does not work on iPad iOS 18x

Maybe something’s changed now, if I tap the extension, close it, and do that 3-4x then it seems to work as expected, my coworker was not able to reproduce this.

Update from 9.30.1, ios 18.3.1 ipad 10th gen
I can still reproduce the issue but it’s less frequent. Some times I get immediate resolution and sometimes I get the hang until after a few retries. just to note, the server response time is always a second or less and successful for these cases, the POS extension on the order complete screen does update:

server log:
method=POST path=“/api/shopify/refunds” host=app.pievat.com connect=0ms service=1168ms status=200 bytes=1668 protocol=http tls_version=tls1.3

POS hangs for 15+ seconds, eventually loading the result: