forked from naoufal/react-native-payments
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add applePayEnabled static method to PaymentRequest. [MITM-866]
It's problematic for our use case to have to have to construct a payment request in order to check if apple pay is enabled on the device via canMakePayments instance method. add a static method that lets us check if apple pay is enabled on the device. <!-- ps-id: 36eab9f2-b5ed-4852-bcee-51262e81ab2f -->
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 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