AndrewBarba / apns2

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

NotificationOptions mutableContent && fix contentAvailable #82

Closed xavtiz closed 7 months ago

xavtiz commented 7 months ago

Added the mutable content option in order to pass the notification to the notification service app extension. This also fixes contentAvailable flag which, when sending it as false, it was sent to APNS with content-available: 1.

AndrewBarba commented 7 months ago

Great fix thank you I'll get this released shortly