I want to display a group notification instead of multiple notifications like whatsapp. For example: One notification with a message - "2 discussions 1 comment" instead of just three notifications.
I used the react-native-fcm library ( https://github.com/evollu/react-native-fcm ) I used the group and tag keys, but could not achieve the result, as shown below.
FCM.presentLocalNotification({
title: 'Title',
body: 'Body',
priority: "high",
click_action: true,
show_in_foreground: true,
local: true,
group: 'group1',
tag: 'tag1'
});
Is it possible to achieve this functionality in response to your own FCM? Please let me know.
source
share