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

feat: add tap to pay on iphone entitlement #2069

Merged
merged 4 commits into from
Sep 28, 2023
Merged

Conversation

fobos531
Copy link
Contributor

Why

Seems like it's missing - but not sure if that was intentional or there's any other hindrance to it?

How

Add the entitlement object exactly like the others. It doesn't seem like there's anything else to do?

Test Plan

@EvanBacon It seems @expo/apple-utils is a private package, so I cannot contribute a change to add a TAP_TO_PAY_ON_IPHONE constant for the CapabilityType - for now I just force casted this to keep TS happy.

Thoughts?

{
entitlement: 'com.apple.developer.proximity-reader.payment.acceptance',
name: 'Tap to Pay on iPhone',
capability: 'TAP_TO_PAY_ON_IPHONE' as CapabilityType,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've published @expo/[email protected] with TAP_TO_PAY_ON_IPHONE, SUSTAINED_EXECUTION, and NETWORK_SLICING.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! The PR is updated to reflect this change.

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #2069 (88f40d2) into main (04049a8) will not change coverage.
Report is 3 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main    #2069    +/-   ##
========================================
  Coverage   54.07%   54.07%            
========================================
  Files         508      508            
  Lines       18638    18638            
  Branches     3909     3721   -188     
========================================
  Hits        10076    10076            
- Misses       7872     8542   +670     
+ Partials      690       20   -670     
Files Coverage Δ
...c/credentials/ios/appstore/bundleIdCapabilities.ts 86.92% <ø> (ø)

... and 190 files with indirect coverage changes

@brentvatne brentvatne merged commit c1c9e06 into expo:main Sep 28, 2023
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants