Skip to content
Discussion options

You must be logged in to vote

Hi @mbappai, thanks for using passkit-generator!

It is not very clear in which context you are, but I assume you are using it on Safari iOS.

The general rule is to show a button "Add to Apple Wallet" (check for iOS HIG for all the details) when the user lands on the tickets page. Once the button is clicked, you should ping the server, generate the pass and serve it back. You can safely use an HTMLAnchorElement with download attribute to request for pass downloading.

It is not required to have a button "Add to Apple Wallet". I mean, it is better because you can let the user choose what to do and not receive an unexpected ticket-adding request (not everyone might know what Apple Wallet is a…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mbappai
Comment options

@alexandercerutti
Comment options

@mbappai
Comment options

@alexandercerutti
Comment options

@mbappai
Comment options

Answer selected by mbappai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants