Bug 268400
| Summary: | [visionOS] Payment sheet not showing up when a view service tries to present it on a host application owned scene | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | Platform | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Abrar Rahman Protyasha
PKPaymentAuthorizationController needs to be vended a scene ID and bundle ID pair that correspond to each other for it to successfully present a payment sheet on a scene. Unfortunately, when there is an embedded view service in a host application, we:
1. Supply a bogus scene ID because view services don't have an associated scene ID.
2. Supply the bundle identifier of the view service and not the hosting application, which actually owns the scene to be presented in.
Let's fix this mismatch.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Abrar Rahman Protyasha
rdar://121673521
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/23529
EWS
Committed 273801@main (d9d8f6844b91): <https://commits.webkit.org/273801@main>
Reviewed commits have been landed. Closing PR #23529 and removing active labels.