CleverTap / apns-http2

A Java library for sending notifications via APNS using Apple's HTTP/2 API.
https://clevertap.com
BSD 3-Clause "New" or "Revised" License
215 stars 111 forks source link

Ability to omit "alert" in payload #80

Open aleksandrovpv opened 3 years ago

aleksandrovpv commented 3 years ago

If I don't call com.clevertap.apns.Notification.Builder#alertTitle and com.clevertap.apns.Notification.Builder#alertBody, alert still presents in the payload:

"aps":{"alert":{}

I'd like to be able to omit "alert".