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

Documenting/adding an entitlement to Entitlements-Release.plist #20

Open
faugusztin opened this issue Jun 21, 2020 · 0 comments
Open

Documenting/adding an entitlement to Entitlements-Release.plist #20

faugusztin opened this issue Jun 21, 2020 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@faugusztin
Copy link

Adding a card to Apple Wallet can be tested only via TestFlight (minimum supported iOS version for those builds also needs to be iOS 10.3 or higher), which requires a production build with a specific entitlement in both provisioning profile and in Entitlements-Release.plist.

The entitlement can be added using following code:

<config-file target="Entitlements-Release.plist" parent="com.apple.developer.payment-pass-provisioning" mode="add">
  <true />
</config-file>

Adding this entitlement to *-Debug.plist would cause build to fail, as the debug provisioning profile won't have the corresponding entitlement item (this item can be enabled only manually by Apple, and they do it only for App Store distirbution provisioning profile).

This block of code can be added either to the plugin.xml (of the plugin) or to config.xml (of the project using this plugin; in this case the requirement for modification of config.xml needs to be added to the documentation.

@tomavic tomavic added the enhancement New feature or request label Jun 21, 2020
@tomavic tomavic added the question Further information is requested label Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants