Questions tagged [passkit]

Passkit is an API aimed towards businesses and developers to help them create, distribute and manage coupons, tickets, store cards, membership cards and much more for Apple Passbook. Source: Apple 2013

For usage, check the reference: https://developer.apple.com/library/ios/documentation/UserExperience/Reference/PassKit_Framework/

230 questions
1
vote
0 answers

Apple Pass not getting updated

I am trying to update an apple pass by pushing notification.manual update is working fine. i tried to send notification using javapns. i am however confused about the payload. document says 'empty JSON dictionary for payload'. Does that mean aps{}…
Philip George
  • 83
  • 2
  • 6
1
vote
1 answer

PassKit - Getting the Latest Version of a Pass - Response

Reading the Apple PassKit documentation here or here in the section titled "Getting the Latest Version of a Pass" or "Devices Ask for Latest Version of Passes" the two documents above simply suggest... respond with a 200 and a payload of the…
Bill
  • 4,614
  • 13
  • 77
  • 132
1
vote
2 answers

Passbook file opens on Safari OSX, but not Safari iOS

I'm trying to add Passbooks to my app. I've been fiddling with it all day and still no luck! Works on OSX Browsers When I'm working locally (OSX), I download passbooks in Chrome and Safari and they open up just fine: Fails Silently on iOS…
rmosolgo
  • 1,854
  • 1
  • 18
  • 23
1
vote
0 answers

Random error on dataTaskWithRequest completion handler?

I'm working on a passbook capable swift application and i'm in front of a strange problem. Randomly, the passbook i download from my server is corrupted (the same downloaded can be good or corrupted). Here is the code : func openPass(pass:…
Kevin Vacquier
  • 622
  • 6
  • 17
1
vote
1 answer

sending PKPAss to Safari with PHP

All, I am following a tutorial to get PHP to deliver a pass. I have been using the console to check the logs in XCODE. I have also checked and there is no PHP errors on the local server. When I browse to the page which should download the pass, I…
Jason
  • 1,057
  • 3
  • 13
  • 31
1
vote
1 answer

Safari cannot download this file (Passbook Pass)

I am using passkit(java). i am created passes and try to install from safari. when i am download passes from mac mini safari, it download and show the passes. but when download passes from iphone6 and iphone4 safari, it show error "safari cannot…
user3492899
  • 21
  • 1
  • 7
1
vote
1 answer

How to debug iBeacons and Passbook

I have a pass (which eveyrthing works on, pushs, registrations, pull to refresh, locations, etc) that I've created a Beacons array on. It has a dictionary with a UUID, message, major and minor for an Estimote iBeacon. "beacons": [ { …
BJ Clark
  • 3,215
  • 2
  • 17
  • 16
1
vote
0 answers

Passkit Pull To Refresh PKZIP error

when trying to update a pass in passbook by using my web server, I get an error message: Apr 18 23:56:17 ISARFAKTOR passd[493] : Get pass task (pass type pass.de.isarfaktor.medifaktor, serial number 139785475117, if-modified-since (null);…
konturgestaltung
  • 467
  • 6
  • 19
1
vote
0 answers

Access pass.json content from PKPass

I download a .pkpass file from a server and create a PKPass instance with the file. In the .pkpass file is a json file called pass.json. In this json file is a key named "barcode" I tried to use [pass localizedValueForFieldKey:@"barcode"]; but it…
zeiteisen
  • 7,078
  • 5
  • 50
  • 68
1
vote
0 answers

Pass localization in iOS 7

Does anyone know how to localize for different languages a pass(used in passbook) in iOS 7? I've tried, for portuguese, for example, using the pass.strings file inside a pt.lproj folder way, but it didn't work. Does anyone know what could be the…
iosDev
  • 61
  • 1
  • 4
1
vote
3 answers

Downloading PKPass in an iOS custom app from my server

I've setup a server which returns a PKPass. If I copy the URL to the browser, a pass is shown (both in my Mac and in my iPhone). The code I'm using to download the pass is the following one: NSData *data = [[NSData alloc]…
Luca Torella
  • 7,974
  • 4
  • 38
  • 48
1
vote
1 answer

Reading 2D barcode using Passkit Library

Currently i am trying to develop an iOS app for reading various 2D barcode & i have seen Passkit Library is able to read following bar code (PDF417, Aztec, QR). So is it possible to create such kind of app using Passkit library ? If possible, what…
user1227928
  • 831
  • 1
  • 12
  • 27
1
vote
1 answer

Add to passbook not working

I am having a lot of trouble with this and I have finally decided to come here. I feel as if I am making a noob mistake. I created a Passbook pass and I am using PKAddPassesViewController to add the pass. When I present the pass controller, the pass…
virindh
  • 3,775
  • 3
  • 24
  • 49
0
votes
0 answers

Download Pkpass file and display in Swift

I put together a webservice that generates a pass. When I try to download the pass I get back nil. How do I connect my firebase cloud service and download the pass or just convert the bufferData my server generates and convert that to something…
0
votes
0 answers

Create Apple Wallet Pass Dynamically In Flutter

I am looking to create a Apple Wallet Pass in Flutter. I was able to create a static pass in .pkpass format following instruction from Apple's Wallet Official Document. Although, the original requirement is to create a dynamic pass which will be…
UGandhi
  • 518
  • 1
  • 8
  • 28