You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial
* updates
* clean up, let overriden environment be a thing
* use nio deadline
* use configured decoder
* update workflow
* Workflow again
* again?
* re-run
* cleanup, remove PEM
* cleanup
* use dispatch group instead of sleep().
* use executable target
* update versions
* remove test code
* cleanup and remove JWTKit
* more cleanup
* udate headers
* update readme
* update readme
* Update public vendor to be `internal`
* update meta files
* linted
* more privates, more internals.
[`APNSwiftConfiguration.Authentication`](https://github.com/swift-server-community/APNSwift/blob/master/Sources/APNSwift/APNSwiftConfiguration.swift#L26) is a struct that provides authentication keys and metadata to the signer.
75
+
76
+
65
77
```swift
66
-
let signer =...
67
-
let apnsConfig =tryAPNSwiftConfiguration(keyIdentifier: "9UC9ZLQ8YW",
68
-
teamIdentifier: "ABBM6U9RM5",
69
-
signer: signer),
70
-
topic:"com.grasscove.Fern",
71
-
environment: .sandbox)
78
+
let authenticationConfig: APNSwiftConfiguration.Authentication = .init(
[`APNSwiftConnection`](https://github.com/kylebrowning/swift-nio-http2-apns/blob/master/Sources/APNSwift/APNSwiftConnection.swift)is a class with methods thats provides a wrapper to NIO's ClientBootstrap. The `swift-nio-http2` dependency is utilized here. It also provides a function to send a notification to a specific device token string.
87
+
[`APNSwiftConnection`](https://github.com/kylebrowning/swift-nio-http2-apns/blob/master/Sources/APNSwift/APNSwiftConnection.swift) provides functions to send a notification to a specific device token string.
77
88
78
89
79
90
#### Example `APNSwiftConnection`
80
91
```swift
81
-
let apnsConfig =...
82
-
let apns =try APNSwiftConnection.connect(configuration: apnsConfig, on: group.next()).wait()
92
+
let apns =APNSwiftConnection(configuration: apnsConfig, logger: logger)
0 commit comments