Skip to content
pubscout

passkit

1.1.0, released 2 years ago by uekoetter.dev

Pure Dart library to create and read Apple PkPass and order files for Apple Wallet.

WASM-ready
$ flutter pub add passkit
Source repository

What it does

Allows reading, writing, signing, and managing Apple Wallet PkPass and order tracking files. It works on servers, web, and mobile apps in pure Dart.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to generate Apple Wallet passes or order tracking files on a server or within an app.
  • You need to parse or update existing PkPass binary files.

Skip it when

  • You need a complete mobile UI widget set out-of-the-box (requires passkit_ui for widgets).
  • You need to interact directly with Apple's native PassKit framework APIs (use apple_passkit instead).

Strengths

  • Pure Dart implementation working across servers and Flutter clients.
  • Supports both reading and properly signing PkPass files for Apple Wallet.

Weaknesses

  • Push notification updates are only supported on iOS.
  • Localization currently uses UTF-8 instead of UTF-16 which may cause edge-case issues.

Setup

Kind
Pure Dart
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
12

Requires setting up Apple certificates and private keys for proper pass signing.

import 'package:passkit/passkit.dart';

void main() {
  final passKitBytes = ... // get bytes for the PassKit from somewhere
  final pkPass = PkPass.fromBytes(passKitBytes);
}

Alternatives

Packages that do the same job and could replace passkit.

  • apple_passkit

    Pick this if you want to work with Apple's native PassKit APIs instead of a pure Dart parsing/generation library.

Works with

Packages commonly used together with passkit: ones it builds on, ones built on it, and its own family.