🍦 SwiftServe Get

Menu / packages / apnswift

apnswiftas of 6.6.0 · 81eb92b6

https://github.com/swift-server-community/apnswift

What it serves, where

CapabilityiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
Push notification delivery

serves it · confidence 0.90 · as of 6.6.0

serves it · confidence 0.90 · as of 6.6.0

serves it · confidence 0.85 · as of 6.6.0

serves it · confidence 0.85 · as of 6.6.0

serves it · confidence 0.75 · as of 6.6.0

  • APNSClient
    Sources/APNS/APNSClient.swift:32
    View the line on GitHub →
    Unconditional decl, no visionOS gap in surface. Note the APNSURLSession sub-module IS visionOS-absent (see notes), but the core client is not.
  • APNSClientProtocol.sendAlertNotification
    Sources/APNSCore/Alert/APNSClient+Alert.swift:27
    View the line on GitHub →

serves it · confidence 0.90 · as of 6.6.0

serves it · confidence 0.75 · as of 6.6.0

  • APNSClient
    Sources/APNS/APNSClient.swift:32
    View the line on GitHub →
    Unconditional decl, no macCatalyst gap in surface; no explicit Catalyst handling in the package.
  • APNSClientProtocol.sendAlertNotification
    Sources/APNSCore/Alert/APNSClient+Alert.swift:27
    View the line on GitHub →
Request stubbing / mocking

serves it · confidence 0.80 · as of 6.6.0

serves it · confidence 0.85 · as of 6.6.0

serves it · confidence 0.70 · as of 6.6.0

  • APNSTestServer
    Sources/APNSTestServer/APNSTestServer.swift:48
    View the line on GitHub →
    Decl unconditional and present per surface; running a NIO-based listening server on watchOS is unlikely to be exercised in practice.
  • Package.swift:6
    View the line on GitHub →
    Manifest declares .watchOS(.v9) floor.

serves it · confidence 0.80 · as of 6.6.0

serves it · confidence 0.70 · as of 6.6.0

serves it · confidence 0.85 · as of 6.6.0

serves it · confidence 0.70 · as of 6.6.0

  • APNSTestServer
    Sources/APNSTestServer/APNSTestServer.swift:48
    View the line on GitHub →
    Unconditional decl, no macCatalyst gap in surface; no explicit Catalyst handling in the package.
  • APNSTestServer.start
    Sources/APNSTestServer/APNSTestServer.swift:102
    View the line on GitHub →

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it

Notes

Push notification delivery: Server-side APNs PROVIDER (sends pushes), not an on-device receiver. Core APNSClient and all sendXNotification APIs are unconditional across the surface. The optional APNSURLSession sub-module (APNSURLSessionClient, Sources/APNSURLSession) is #if-guarded to os(macOS)||os(iOS)||os(watchOS)||os(tvOS) and marked absent on linux and visionOS in the surface, but the primary AsyncHTTPClient-based client covers those platforms.

Request stubbing / mocking: APNSTestServer is a dedicated library product: an in-process mock APNs server (start/shutdown, records SentNotification, simulates APNs error responses such as 410 Unregistered) for stubbing push-delivery requests in tests. Scoped to mocking the APNs service specifically, not a general request-stubbing framework. Built on NIOHTTP2/NIOSSL per the manifest.

Badges for your README

Maintainer of apnswift? These are yours — verified claims, linked to the receipts. Wrong verdict? That's a fix we want; see contribute.

verified badge
capability matrix badge
Push notification delivery badge
Request stubbing / mocking badge