We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
barcodes field is supported or not in this library. ? I am using barcode field build but unable to see barcode on the pass.
snippet of my code:
var template = passbook.createTemplate('generic', { passTypeIdentifier: '', teamIdentifier: '***', organizationName: 'Paw Planet',
}, { certs: { wwdr: 'keys/wwdr.pem', pass: 'keys/pass_cert.pem', // pem with certificate and private key password: 'secret' // pass phrase for the pass_cert.pem file } });
var pass = template.createPass({ serialNumber: 'E5982H-I2', backgroundColor: 'rgb(176,224,230)', description: 'its food offer', logo: fs.createReadStream('public/images/logo.png'), thumbnail: fs.createReadStream('public/images/bK66kieIEBB9.png'), barcode:
}); pass.on("error", function (error) { console.error(error); process.exit(1); }); pass.pipe(fs.createWriteStream('pass.pkpass'))
please help if any can.
The text was updated successfully, but these errors were encountered:
Sorry @maulijadhav-tudip , I no longer maintain this project, nor own an apple device to test it. Feel free to fork and fiddle around.
Sorry, something went wrong.
No branches or pull requests
barcodes field is supported or not in this library. ? I am using barcode field build but unable to see barcode on the pass.
snippet of my code:
var template = passbook.createTemplate('generic', {
passTypeIdentifier: '',
teamIdentifier: '***',
organizationName: 'Paw Planet',
}, {
certs: {
wwdr: 'keys/wwdr.pem',
pass: 'keys/pass_cert.pem', // pem with certificate and private key
password: 'secret' // pass phrase for the pass_cert.pem file
}
});
var pass = template.createPass({
serialNumber: 'E5982H-I2',
backgroundColor: 'rgb(176,224,230)',
description: 'its food offer',
logo: fs.createReadStream('public/images/logo.png'),
thumbnail: fs.createReadStream('public/images/bK66kieIEBB9.png'),
barcode:
});
pass.on("error", function (error) {
console.error(error);
process.exit(1);
});
pass.pipe(fs.createWriteStream('pass.pkpass'))
please help if any can.
The text was updated successfully, but these errors were encountered: