Skip to content

Add broadcast push send support#254

Merged
kylebrowning merged 1 commit into
mainfrom
feat/broadcast-send
Jul 14, 2026
Merged

Add broadcast push send support#254
kylebrowning merged 1 commit into
mainfrom
feat/broadcast-send

Conversation

@kylebrowning

Copy link
Copy Markdown
Owner

Replaces #248 (closed during a base-branch cleanup).

The library could manage broadcast channels but had no way to publish to one. Adds POST /4/broadcasts/apps/<bundleID> support per Apple's docs:

  • APNSBroadcastSendRequest/APNSBroadcastSendResponse in APNSCore with the required headers (apns-channel-id, apns-push-type: liveactivity, apns-expiration, apns-priority, optional apns-request-id).
  • sendBroadcast(_:) on both clients plus a sendBroadcastLiveActivityNotification(...) convenience; APNSEnvironment.broadcastSendURL(bundleID:).
  • Test-server endpoint with Apple's documented validation chain (MissingChannelIdMissingPushTypeInvalidPushTypeBadExpirationDateBadPriorityChannelNotRegisteredPayloadEmpty → 413 at 5 KB) and a broadcast-send log for assertions.
  • Drift fix: APNSBroadcastClient now supports a proxy like APNSClient does.

@kylebrowning
kylebrowning force-pushed the feat/broadcast-send branch from 07a1a81 to f9f407a Compare July 14, 2026 05:46
@kylebrowning
kylebrowning merged commit 1a7136b into main Jul 14, 2026
0 of 6 checks passed
@kylebrowning
kylebrowning deleted the feat/broadcast-send branch July 14, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant