You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manually setting APNS apns-collapse-id header does not work.
aliasPigeon.FCMnotification=FCM.Notification.new("token",%{title: "Test"})|>Map.update(:payload,%{},&(Map.put(&1,:apns,%{headers: %{"apns-collapse-id"=>"1"}})))# First notificationFCM.push(notification)# Second notificationFCM.push(notification)
When testing it with my phone, the same notification arrives twice.
How do I set the apns collapse id to sent through FCM?
I'm not sure if that's the way to set the apns headers field in an FCM.Notification struct.
Activity
[-]Set apns headers in payload[/-][+]Set apns headers in FCM.Notification.payload[/+]