I'm trying to add this entitlement, com.apple.developer.pass-type-identifiers, via a phonegap build. The entitlement is described here: Apple Pay and PassKit Entitlements
Apple provides instructions for turning on this entitlement for an Xcode native project, but obviously no instructions for a phonegap build.
I am using PhoneGap cli-6.5.0 (iOS / Android / Windows) (4.3.1 / 6.1.2 / 4.4.3)
Things I have tried:
In my phonegap build's `config.xml`, I added:
<config-file target="*-Release.plist" parent="com.apple.developer.pass-type-identifiers">
<config-file target="*-Debug.plist" parent="com.apple.developer.pass-type-identifiers">
I also tried adding the same as above in the `plugin.xml` of the plugin that I have included in my build, GitHub - passslot/cordova-plugin-passbook: Passbook Plugin for Cordova/PhoneGap
Neither was successful at changing the Entitlements, which shows in phonegap build log as:
"application-identifier" = "XXXXXXXXXX.com.abcdefghij";
"aps-environment" = development;
"com.apple.developer.team-identifier" = XXXXXXXXXX;
"get-task-allow" = 1;
This appears to be a related topic Re: Wrong value for `com.apple.developer.associated-domains`
I have figured out that phonegap build gets its entitlements based on the settings in the provisioning profile. Must ensure that your provisioning profile is configured to for an app id which has Wallet pass feature enabled in the apple developer portal.