Bug 271701 - REGRESSION: Apple Pay banner fails to render when opening AR QuickLook with USDZ blob
Summary: REGRESSION: Apple Pay banner fails to render when opening AR QuickLook with U...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 18
Hardware: iPhone / iPad iOS 18
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-03-26 03:58 PDT by Miles
Modified: 2024-08-07 09:52 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles 2024-03-26 03:58:30 PDT
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
Comment 1 Radar WebKit Bug Importer 2024-03-26 08:44:59 PDT
<rdar://problem/125418773>
Comment 2 Abrar Rahman Protyasha 2024-03-26 12:24:27 PDT
Thanks for the bug report! Investigating...
Comment 3 Felix Herbst 2024-05-24 09:14:48 PDT
I'm also running into this issue. The regression is still present on iOS 17.5.1.
Comment 4 Miles 2024-07-24 08:48:02 PDT
Still an issue with iOS 18 beta. 
When opening a USDZ blob to view in AR QuickLook, Apple Pay banner is not rendered.
Comment 5 Miles 2024-08-07 09:52:05 PDT
Still an issue in iOS 18.0 Dev Beta 5 (22A5326f)