apns2
apns2 copied to clipboard
Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens
Thank you for this great and easy to use library. While validating our implementation, I stumbled upon an issue with `sendMany()`. It might be my misunderstanding, or a potential issue...
Hi, Contrary to what the typing describes, giving a KeyObject to the signingKey results in the following error thrown: ```txt Error: The key option must be a string, a buffer,...
Hello, First of all, thank you for the APNS2 library. It works flawlessly in most cases. However, I am facing one issue with it. When sending concurrent requests to the...
In other projects such as you can pass a custom `key` and `cert` file. How might you do this with this project? We see that only `signingKey` is supported.
"TypeError: Cannot read properties of undefined (reading 'topic')" ``` apnsClient, send error undefined undefined TypeError: Cannot read properties of undefined (reading 'topic') at ApnsClient._send (/home/ubuntu/main/node_modules/apns2/dist/apns.js:51:52) at ApnsClient.send (/home/ubuntu/main/node_modules/apns2/dist/apns.js:35:21) at sendNotifs...
Hi, I just tried to upgrade from 11.8 to 12.1 and realized that none of my push notifications are sending. The issue seems to be that `res` is undefined: ```...
1. Change the return shape of `send()` to include the notification as well as details from APNS
Currently the response only return the `notification` payload object. Could add a new param `apns-unique-id` to help debug, which is in the response header? ```json { "headers": { "apns-id": "ACDFB3EB-105B-D33C-7F29-8D09A01CC4EF",...
I'm working on a Node.js application that sends live activity notifications using the apns2 library. However, I'm encountering an error when trying to send a notification. Below is the relevant...