Abdul91
Abdul91

Reputation: 726

iOS - PassBook Automatic Updates

I created a pass file and added in the wallet. I was wondering what am I missing that will show the Automatic updates option at the back of the pass ? Like in this image : https://dxjl3qy52c1o9.cloudfront.net/wp-content/uploads/2016/03/22080644/ios-apple-wallet-share-526x1024.png

Back of my pass looks like this Image : https://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/iphone6-ios9-wallet-pass-auto-updates-inshell.jpg

I added the pass by two ways, one was manually by sending via email and other was adding pass file in the xcode bundle resources and fetching from there via code and adding using Passkit framework as mentioned in this tutorial: https://www.captechconsulting.com/blogs/ios-6-tutorial-integrating-passbook-into-your-applications

Do I need to have a server integrated to make that option show up ? As I read something of the sort in the apple documentation (https://developer.apple.com/library/ios/documentation/PassKit/Reference/PassKit_WebService/WebService.html#//apple_ref/doc/uid/TP40011988) and some other answers.

I am not trying to update the pass, I was just wondering for learning purpose why is that option is not shown at back of my own pass. If some one can clarfiy this, I would be very thankful.

Upvotes: 1

Views: 975

Answers (1)

PassKit
PassKit

Reputation: 12581

You simply need to have a webServiceURL and authenticationToken in your pass.json to make the option appear.

For updates to work then you will need to implement the web service protocol on your server.

Upvotes: 4

Related Questions