Group iOS push notifications #67
-
|
Hi there! See below a video of what I mean: Thanks a lot, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hey @guevaradan you will need to use an iOS specific Provider Override for grouping the notifications. You will need to pass in a Here's what your payload might look like: {
"notification": {
"title": "We are processing your order",
"content": "<p>Thank you for your order. We will notify you when these items are ready.</p>",
"recipients": [
{
"email": "[email protected]"
}
],
"overrides": {
"providers": {
"ios": {
"thread-id": "topic-id-123"
}
}
}
}
}Apple's Documentation -https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html |
Beta Was this translation helpful? Give feedback.
Hey @guevaradan you will need to use an iOS specific Provider Override for grouping the notifications.
You will need to pass in a
thread-idparameter which is same across the notifications you want to group together, so something like passing the topic name there should work.Here's what your payload might look like:
{ "notification": { "title": "We are processing your order", "content": "<p>Thank you for your order. We will notify you when these items are ready.</p>", "recipients": [ { "email": "[email protected]" } ], "overrides": { "providers": { "ios": { "thread-id": "topic-id-123" } } } } }Apple's Do…