-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PaymentSheet and CustomerSheet in SwiftUI on iOS 18 (#3666)
## Summary - No view controller was being found to present on. To fix we fallback on the current view controller on the window. - Fixes for both PaymentSheet and CustomerSheet - Adds metrics to product usage to track SwiftUI usage. ## Motivation - Fix PaymentSheet/CustomerSheet <> SwiftUI on iOS 18 ## Testing - Manual on iOS 17.2 and iOS 18 ## Changelog See diff
- Loading branch information
1 parent
f449d8c
commit 2dd63df
Showing
3 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters