Maris
Maris

Reputation: 4776

Deactivating pass from Apple wallet

I'm trying to implement functionality which will send push notification for pass deactivation/cancellation. But I can't find any word about it in apple/android documentation. Can any one suggest a solution how to deactivate pass?

Upvotes: 0

Views: 550

Answers (1)

PassKit
PassKit

Reputation: 12591

You cannot directly deactivate or delete a pass. But you can render it 'useless'.

When we invalidate a pass, we remove locations, beacons and the barcode from pass.json. We also remove webServiceURL and authenticationToken to remove the ability for the pass to update in the future.

However - you have to bear in mind that there may be stale versions of the pkpass bundle floating around in cyberspace. You should ideally have your server set up to respond to web service calls if a legacy version of the pass is installed on a device and replace with the invalidated version.

Upvotes: 3

Related Questions