apns2 icon indicating copy to clipboard operation
apns2 copied to clipboard

v12.1 is broken

Open nzapponi opened this issue 7 months ago • 4 comments

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:

TypeError: undefined is not an object (evaluating 'res.statusCode')
    at _handleServerResponse (/node_modules/apns2/dist/esm/apns.js:77:13)

I'm running Bun v1.2.12. Any help would be appreciated.

nzapponi avatar May 08 '25 20:05 nzapponi

Did apns2 ever work on bun?

AndrewBarba avatar May 21 '25 16:05 AndrewBarba

Yeah, actively using it on v11.8, sent about 35k notifications so far

nzapponi avatar May 21 '25 16:05 nzapponi

Okay so I guess undici doesn't work on bun. I'll have to do some testing but not sure how much I can do

AndrewBarba avatar May 21 '25 18:05 AndrewBarba

Hey same problem with bun i revert to 11.8

leobr30 avatar Jun 11 '25 09:06 leobr30