Closed Shafiullahbug closed 5 years ago
We don’t have an example on how to do that right now.
I would suggest the following to troubleshoot this:
Any luck figuring this out @Shafiullahbug?
Hey @tschoffelen Thanks for your reply ....... Not yet but I will start working on it from Monday and will update you once done ....... I should be able to do it have a lot on my plate so havent been able to work on this .....
You have to add:
"webServiceURL" => "https://your_domian", // only https
"authenticationToken" => "your_token",
Hi @zloadmin , I am adding webServiceURL and authenticationToken, and the pass gets created and successfully added to iOS wallet on iPhone.
But my webServiceURL is not getting hit when the pass is added on the iPhone - I've set up the URL to log request data, so I can inspect what apple sends. It is https, of form domain.com/passbook-update
I am using the cert to generate the pass as per the readme of this repo. Not sure what I am doing wrong, any ideas would be welcome. I've looked at the console log of the iPhone but no errors.
UPDATE: my setup is correct, the webserver is being hit by apple. My app was not configured with the right routes. Correct webserver spec here: https://developer.apple.com/library/archive/documentation/PassKit/Reference/PassKit_WebService/WebService.html
If anyone wants to open a PR to contribute any of this info to the README, that would be super helpful.
Closing this issue right now, since the actual server implementation of push isn't really within the scope of this repo right now.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I have a question is there an example code for updating of pass. As soon as I try to insert a weserviceurl into the pass the pass is not recognised by the wallet app.