PKPassLibrary returning empty array in Non-UI Wallet Extension

Hello,

We are implementing Apple Wallet extensions (PKIssuerProvisioningExtensionHandler). While our UI extension works as expected, our Non-UI extension is unable to detect payment passes provisioned by our app.

Specifically, PKPassLibrary().passes(of: .secureElement) returns an empty array when called from the Non-UI extension, even though the same call correctly returns the passes when executed from the Main iOS App.

Our Payment Network Operator has confirmed that our extension bundle identifiers are correctly registered in the metadata on their side. They suggested that the Wallet Extensions entitlement (com.apple.developer.payment-pass-provisioning) may require additional backend enablement for these specific Extension App IDs.

Is there a known reason why PKPassLibrary would behave differently in the Non-UI extension vs the Main App?

Beyond the standard entitlement request, is there a specific process to "activate" these IDs for extension visibility?

Does anyone have guidance on reaching the appropriate team for backend entitlement activation issues?

Any insights would be greatly appreciated.

Answered by DTS Engineer in 893847022

Hi @curve,

You wrote:

[...] Does anyone have guidance on reaching the appropriate team for backend entitlement activation issues? [...]

Please see my answer on the post below:

Apple Wallet extension doubts

https://developer.apple.com/forums/thread/824897?answerId=893702022#893702022

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @curve,

You wrote:

[...] Does anyone have guidance on reaching the appropriate team for backend entitlement activation issues? [...]

Please see my answer on the post below:

Apple Wallet extension doubts

https://developer.apple.com/forums/thread/824897?answerId=893702022#893702022

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

PKPassLibrary returning empty array in Non-UI Wallet Extension
 
 
Q