Skip to content

Load model via JSON String / direct input #223

Closed Answered by alexandercerutti
xL0b0 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @xL0b0, thanks for using passkit-generator!

PKPass constructor accepts a list of file-buffer, as you can see in both examples and documentation.

const pass = new PKPass(
{
"icon.png": Buffer.from(icon),
"icon@2x.png": Buffer.from(icon2x),
"footer.png": Buffer.from(footer),
"footer@2x.png": Buffer.from(footer2x),
"background@2x.png": Buffer.from(background2x),
},
{
signerCert: env.SIGNER_CERT,
signerKey: env.SIGNER_KEY,
signerKeyPassphrase: env.SIGNER_PASSPHRASE,
wwdr: env.WWDR,
},
{
description: "Example Pass generate…

Replies: 8 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by alexandercerutti
Comment options

You must be logged in to vote
3 replies
@alexandercerutti
Comment options

@alexandercerutti
Comment options

@alexandercerutti
Comment options

Comment options

You must be logged in to vote
1 reply
@alexandercerutti
Comment options

Comment options

You must be logged in to vote
1 reply
@alexandercerutti
Comment options

Comment options

You must be logged in to vote
3 replies
@alexandercerutti
Comment options

@alexandercerutti
Comment options

@alexandercerutti
Comment options

Comment options

You must be logged in to vote
1 reply
@alexandercerutti
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alexandercerutti
Comment options

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