# `WalletPasses.Apple.Push`
[🔗](https://gitlab.com/phinnaeus/wallet_passes/blob/main/lib/wallet_passes/apple/push.ex#L1)

Sends silent APNs push notifications to Apple Wallet devices.

Uses HTTP/2 with client certificate authentication to notify devices
that a pass has been updated.

# `notify`

Notifies all registered devices for an Apple pass by serial number.

Looks up push tokens via Schema and sends notifications.
Returns `{:ok, {successes, errors}}`.

# `notify_devices`

Sends silent push notifications to a list of APNs push tokens.

Returns `{:ok, {successes, errors}}` or `{:error, reason}`.

Emits `[:wallet_passes, :apple, :push, :start|:stop]` telemetry events.
Stop measurements include `duration`, `success_count`, and `error_count`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
