I am implementing apple wallet extension. As part of it I have developed UI and Non-UI extension. I have implemented status , pass entries and remote pass entries method to return as per apple standard. My problem is pass entries is showing correct list of cards/passes as it is able to match against phone wallet. But remote pass entries method is not able to access watch app/watch wallet to match the existing passes. Any help is appreciated. When we print passlibrary count it displays the count matching phone wallet. But it ignores watch wallet passes which belongs to our app.
Apple wallet non ui extension not able to access remote passes
Hi @pjangala,
You wrote:
[...] But remote pass entries method is not able to access watch app/watch wallet to match the existing passes. Any help is appreciated. When we print passlibrary count it displays the count matching phone wallet. But it ignores watch wallet passes which belongs to our app. [...]
For a paired Apple Watch, remoteSecureElementPasses on PKPassLibrary
returns an array of PKSecureElementPass
types for all available passes the issuer is entitled to access. The array returns empty if there aren’t any passes available or there isn’t a paired Apple Watch.
If you believe the Apple Watch is paired correctly, and there are valid passes available, please perform the steps below so I can begin my investigation:
Gathering Required Information for Troubleshooting Apple Pay In-App Provisioning or In-App Verification Issues https://forums.developer.apple.com/forums/thread/762893
Cheers,
Paris X Pinkney | WWDR | DTS Engineer
Dear Paris,
I am sure that watch is paired correctly because i am to able to provision the card to watch wallet. But when I click add button inside watch app wallet pay, it prompts me to unlock the watch first. I did unlock and provisioned successfully. But when I did another provisioning previous card is visible again. First I have checked my filtering logic and then found that remotesecureelement passes count returns zero. Is it ok if I provide you console logs from Mac? Or you need sysdiagnosis logs particularly?
Dear Paris,
I have raised feedback assistant report with sysdiagnostic logs https://feedbackassistant.apple.com/feedback/14966835 . Please check and let me know if you need any other information.
Thanks Praveen