-
-
Notifications
You must be signed in to change notification settings - Fork 71
[Android] How to group notifications
Elvin Thudugala edited this page Mar 22, 2026
·
7 revisions
From Version 5.0.1 and above
You can group notifications by setting NotificationRequest.Group and NotificationRequest.Android.IsGroupSummary
First, you must create the Summary notification
using Plugin.LocalNotification;
using Plugin.LocalNotification.Core.Models;
var notification = new NotificationRequest
{
NotificationId = 100,
Title = "Summary",
Description = "Summary Description",
Group = "example.GROUP_01",
Android =
{
IsGroupSummary = true
}
};
await LocalNotificationCenter.Current.Show(notification);Then you can create child notification for the group
var notification1 = new NotificationRequest
{
NotificationId = 200,
Title = "Child 1",
Description = "Child 1 Description",
Group = "example.GROUP_01"
};
await LocalNotificationCenter.Current.Show(notification1);
var notification2 = new NotificationRequest
{
NotificationId = 300,
Title = "Child 2",
Description = "Child 2 Description",
Group = "example.GROUP_01"
};
await LocalNotificationCenter.Current.Show(notification2);