Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Apple Pay button tap gesture bug #4975

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

tonisevener
Copy link
Collaborator

Phabricator: https://phabricator.wikimedia.org/T365043

Notes

More fixes to the donate form. This time the tap gesture recognizer for WMFApplePayDonateButton wasn't registering in iOS 18. There is now a SwiftUI Apple Pay Button called PayWithApplePayButton available to us since changing the minimum deployment target to iOS 16. Changing the element to this fixes the bug.

Test Steps

  1. Confirm Apple Pay button looks good in all themes.
  2. Tap donate button in simulators for iOS 17 & 18. (Note, to test with iOS 16 simulator, I had to change the project deployment target down to iOS 16.4 from iOS 16.6, because I could not find any other iOS 16 simulator version). Confirm payment sheet displays.

@l-olson1214 l-olson1214 merged commit ee6667d into 7.5.9 Sep 18, 2024
5 checks passed
@l-olson1214 l-olson1214 deleted the fix-apple-pay-button branch September 18, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants