Bug 271701
| Summary: | REGRESSION: Apple Pay banner fails to render when opening AR QuickLook with USDZ blob | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Miles <mail> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | a_protyasha, eddy_wong, felix.herbst, heycam, mail, thorton, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 18 | ||
Miles
In iOS 17.4.1, when opening a USDZ blob to view in AR QuickLook, and passing in Apple Pay # params, such as applePayButtonType / checkoutTitle / checkoutSubtitle / price, the Apple Pay banner is not rendered.
In previous versions of iOS, this used to be possible.
Also, when opening USDZ blob, it is still possible to use other # params such as allowsContentScaling / canonicalWebPageURL and most significantly, custom / customHeight parameters do still render a custom banner in the AR session.
Repro steps:
- Using iOS 17.4.1 iPhone
- Visit this test: https://modelviewer-extended-params.glitch.me/ (This link uses the ModelViewer component to generate a USDZ blob from GLB).
- Turn ON 'Auto USDZ' option to use USDZ blob rather than the USDZ file.
- Turn ON 'QuickLook Apple Pay Button' option to add # params.
- Tap the AR icon to open model in AR QuickLook.
- Observe, no Apple Pay banner.
Tested with:
- iOS 17.4.1 - FAIL
- iOS 17.2.1 - FAIL
- iOS 16.6.1 - PASS
- iOS 15.8.1 - PASS
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125418773>
Abrar Rahman Protyasha
Thanks for the bug report! Investigating...
Felix Herbst
I'm also running into this issue. The regression is still present on iOS 17.5.1.
Miles
Still an issue with iOS 18 beta.
When opening a USDZ blob to view in AR QuickLook, Apple Pay banner is not rendered.
Miles
Still an issue in iOS 18.0 Dev Beta 5 (22A5326f)
Cameron McCormack (:heycam)
Thanks for the report Miles.
Miles, Felix: do you have any live sites that are being impacted by this?
Miles
Hi Cameron. Thanks for checking out this issue.
Still appears to be an issue in iOS 18.2
You can repro the issue in the demo here:
https://modelviewer-extended-params.glitch.me/
Turn ON 'Auto USDZ' option to use USDZ blob rather than the USDZ file. Turn ON 'QuickLook Apple Pay Banner'. Then open in AR.
Note that the Apple Pay Banner won't render.
But try it with a custom banner and that will show up.
We build AR platform solutions for a lot of ecommerce retailers with 1million+ views, where this functionality would be highly beneficial.
We had to remove this feature from our platform due to this issue.
Happy to discuss in more detail if that helps?
Miles
This is still an issue. Last tested with iOS 18.3.1.
Apply Pay Banners fail to render when passing USDZ blob to ARQuickLook.