๐๏ธ ๐ฆ Create, distribute, and update passes and orders for the Apple Wallet app with Vapor.
The table below shows a list of PassKit major releases alongside their compatible Swift versions.
Version | Swift | SPM |
---|---|---|
0.5.0 | 5.10+ | from: "0.5.0" |
0.4.0 | 5.10+ | from: "0.4.0" |
0.2.0 | 5.9+ | from: "0.2.0" |
0.1.0 | 5.9+ | from: "0.1.0" |
Use the SPM string to easily include the dependendency in your Package.swift
file.
.package(url: "https://github.com/vapor-community/PassKit.git", from: "0.5.0")
Note: This package is made for Vapor 4.
The Passes framework provides a set of tools to help you create, build, and distribute digital passes for the Apple Wallet app using a Vapor server. It also provides a way to update passes after they have been distributed, using APNs, and models to store pass and device data.
Add the Passes
product to your target's dependencies:
.product(name: "Passes", package: "PassKit")
See the framework's documentation for information on how to use it.
For information on Apple Wallet passes, see the Apple Developer Documentation.
The Orders framework provides a set of tools to help you create, build, and distribute orders that users can track and manage in Apple Wallet using a Vapor server. It also provides a way to update orders after they have been distributed, using APNs, and models to store order and device data.
Add the Orders
product to your target's dependencies:
.product(name: "Orders", package: "PassKit")
See the framework's documentation for information on how to use it.
For information on Apple Wallet orders, see the Apple Developer Documentation.