How can I group notifications?

(Using SDK 39 and currentily testing on android only)

Hello i’m developing an app with chats using react native with expo and node as backend (using the expo-server-sdk).

I have the notifications working when a user sends a message but right know every chat message appears as one unique notification, I want to be able to group them as only one (like whatsapp)

For example, if a user writes three messages like “hello”, “good day”, “how are your” i send three notifications and on the phone it will apear like this:


good day

how are you

But i want to group them, somthing like this:

[3 notifications]
good day
how are you

Is this something i can do with expo? if so, how? I’m having trouble finding any information on the topic