Closed VeraManuel closed 1 year ago
Hey there @VeraManuel, thanks for using passkit-generator!
passTypeIdentifier is the identifier associated with your certificate, so it should be static or hardcoded, based on your use case.
For what I know, the serial number and authenticationToken should be indeed dynamic but they should be the same across an old version and a newer version of the same pass, because they are used to communicate with your server.
Passkit-generator offers only the basic brick for building a pass as a unit, so it can be used to create both a lambda to generate a pass once or a webserver that supports update.
Let me know if I can help you any further!
thanks i will create a function to handle those two cases i a dynamic way,
agains thank for answer and for the library.
i just have a concern or a question.
if i want to update a pass like apple doc says: apple doc
You would need to define dynamical a passTypeIdentifier (can be added manually into the pass. json) but the serialNumber and AuthToken should be dynamical, I'm right?
But the library doesn't have those functionalities which would be nice, or I'm not seeing anything in the library docs of pass kit-generator??
Leaving that aside is a great library.