MistKit icon indicating copy to clipboard operation
MistKit copied to clipboard

Creating APNs Tokens (tokens/create)

Open leogdion opened this issue 5 years ago • 1 comments

leogdion avatar Sep 15 '20 17:09 leogdion

Status Update: The createToken operation exists in Sources/MistKit/Generated/Client.swift (line 3054) but is not exposed in the public CloudKitService API.

What needs to be done:

  1. Create a public wrapper method in CloudKitService+Operations.swift
  2. Support APNs token creation for push notifications
  3. Add documentation explaining token lifecycle and APNs integration
  4. Handle token refresh and expiration
  5. Add tests for token creation scenarios

Generated operation signature:

internal func createToken(_ input: Operations.createToken.Input) 
  async throws -> Operations.createToken.Output

Part of push notification support (#52, #53) - pairs with subscription APIs.

leogdion avatar Nov 27 '25 16:11 leogdion