Skip to content

APNSResponse is not sendable #217

@harlanhaskins

Description

@harlanhaskins

Describe the bug

Neither APNSClient nor APNSResponse are Sendable, which means we can't call sendAlertNotification and friends from an actor-isolated context

To Reproduce
Steps to reproduce the behavior:

  1. Create an actor
  2. Give it an APNSClient
  3. Attempt to call sendAlertNotification from an isolated context

Expected behavior
It should work just fine since APNSResponse is just two UUIDs

Screenshots

Platform:

  • OS: macOS
  • Version 15.4

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions