AndrewBarba / apns2

Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens
MIT License
115 stars 31 forks source link

How to pass custom key and cert? #86

Open titanism opened 1 month ago

titanism commented 1 month ago

In other projects such as https://github.com/parse-community/node-apn you can pass a custom key and cert file.

How might you do this with this project? We see that only signingKey is supported.

AndrewBarba commented 1 week ago

I believe the http2 API only supports a signing key (JWT). Do you have docs saying otherwise? This package exclusively uses the new http2 API and I don't want to support anything else.