Skip to content

Group iOS push notifications #67

Answered by niyabits
guevaradan asked this question in Questions
Discussion options

You must be logged in to vote

Hey @guevaradan you will need to use an iOS specific Provider Override for grouping the notifications.

You will need to pass in a thread-id parameter 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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@guevaradan
Comment options

@victorcerqueira
Comment options

@niyabits
Comment options

Answer selected by niyabits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Questions
Labels
None yet
3 participants