How to send silent pushes using APNs provider?
Hi everybody, hope you are all doing well!
I use APNs provider to send pushes to iOS subscribers. And the problem is I don't know how to override payload to send silent push notifications. I tried to set a hashmap in
Overrides
field like this:
And I expect the same structure on another side — iOS app but instead I get this structure:
It seems like Novu doesn't understand that he needs to send background push instead of alert type.
Here is some log from Activity Feed:
The problem with this log is absense of header key apns-type
with value background
.
How to solve it? How to send silent pushes using APNs provider?
p.s. My app is currently working well and now CloudKit sends correct silent pushes if I use content-available
inside aps
without any other keys like title
and body
.
p.p.s. I've recently checked another topic but related to FCM instead right below.
https://discord.com/channels/895029566685462578/1057055266631327754/1057055266631327754
The same solution is really needed for APNs provider. Now it's only possible to send alert
type pushes to APNs, unfortunately, as far as I can see.4 Replies
@Raikas do you have any idea on how to send silent apns push notification
Overrides?
Ah, they're using them already. Hmm 🤔
Yeah, we are already using overrides field and when we trigger event, we get a classic alert-type push notification instead of silent (or data/background) push notification.
@Físundur
We have a demo guide for FCM and APNS Push with ios device in our todo list.
We will share it with you once it is ready
cc:- @DevRel
ref:- FCM Linear Ticket