apple_wallet_cmd
v1.0.3
Published
A commandline tootl that creates apple passkit files.
Downloads
6
Readme
CMD Apple Wallet Passport
This tool can create a passport for the apple wallet.
Install
$ npm install apple_wallet_cmd -g
Usage
$ apple_wallet_cmd --name ~/Downloads/test.pkpass --p <password> --f /home/<user>/Downloads/Archiv/
Arguments
- name: The name of the pass.
- p: The password for the certificate
- f: The folder where the images, the pass-file, and the certificate are lying.
Example
pass-file
{
"formatVersion": 1,
"eventTicket": {
"primaryFields": [
{
"key": "a",
"value": "a",
"label": "a"
}
],
"secondaryFields": [
{
"key": "n",
"value": "n",
"label": "n"
}
]
},
"passTypeIdentifier": "pass.example.test",
"teamIdentifier": "iden",
"organizationName": "example",
"sharingProhibited": true,
"serialNumber": "test-test-test-test",
"description": "description",
"barcodes": [
{
"format": "PKBarcodeFormatQR",
"message": "123456",
"messageEncoding": "iso-8859-1"
}
]
}
- certificate-file: This file you have to create and download from the developer-section of apple.
- image-files: Need to have the name of the field where they are placed and there resolution within.
Icon.png
[email protected]
[email protected]
Logo.png
[email protected]
[email protected]
[email protected]