We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a61b94 commit 43245eaCopy full SHA for 43245ea
README.md
@@ -39,7 +39,7 @@ let apnsConfig = try APNSwiftConfiguration(
39
40
let apns = try APNSwiftConnection.connect(configuration: apnsConfig, on: group.next()).wait()
41
let aps = APNSwiftPayload(alert: .init(title: "Hey There", subtitle: "Subtitle", body: "Body"), hasContentAvailable: true)
42
-try apnsConn.send(BasicNotification(aps: aps), pushType: .alert, to: "98AAD4A2398DDC58595F02FA307DF9A15C18B6111D1B806949549085A8E6A55D").wait()
+try apns.send(BasicNotification(aps: aps), pushType: .alert, to: "98AAD4A2398DDC58595F02FA307DF9A15C18B6111D1B806949549085A8E6A55D").wait()
43
try apns.close().wait()
44
try group.syncShutdownGracefully()
45
exit(0)
0 commit comments