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
@@ -9,6 +11,7 @@ APNS/2 is a go package designed for simple, flexible and fast Apple Push Notific
9
11
- Uses new Apple APNs HTTP/2 connection
10
12
- Fast - See [notes on speed](https://github.com/sideshow/apns2/wiki/APNS-HTTP-2-Push-Speed)
11
13
- Works with go 1.6 and later
14
+
- Supports new Apple Token Based Authentication (JWT)
12
15
- Supports new iOS 10 features such as Collapse IDs, Subtitles and Mutable Notifications
13
16
- Supports persistent connections to APNs
14
17
- Supports VoIP/PushKit notifications (iOS 8 and later)
@@ -65,6 +68,34 @@ func main() {
65
68
}
66
69
```
67
70
71
+
## JWT Token Example
72
+
73
+
Instead of using a `.p12` or `.pem` certificate as above, you can optionally use
74
+
APNs JWT _Provider Authentication Tokens_. First you will need a signing key (`.p8` file), Key ID and Team ID [from Apple](http://help.apple.com/xcode/mac/current/#/dev54d690a66). Once you have these details, you can create a new client:
0 commit comments