Question by
shj6078 · Oct 30, 2020 at 03:26 AM ·
notification
Mobile Notification Android doens't Group notifications
Mobile Notification package
i used Group notification in android platform but it is not works.
my script like below
void SetNotificationAOS(int id, string title, string text, DateTime firetime) {
AosNotiChannel = new AndroidNotificationChannel()
{
Id = /*id.ToString()*/"1",
Name = "KAMP NOTI",
Description ="Kamp Attend Reward Notification",
Importance = Importance.Default,
};
AndroidNotificationCenter.RegisterNotificationChannel(AosNotiChannel);
AndroidNotification notification = new AndroidNotification()
{
Title = title,
Text = text,
SmallIcon = "icon_0",
LargeIcon = "icon_1",
FireTime = /*firetime*/DateTime.Now.ToLocalTime().AddSeconds((double)id),
Style = NotificationStyle.BigTextStyle,
GroupSummary = true,
Group = "KAMP NOTI",
SortKey = "1",
};
var Identifier = AndroidNotificationCenter.SendNotification(notification, AosNotiChannel.Id);
}
is there wrong something to set notification group?
test device : samsung gelaxy 7
Mobile notification version : 1.3.0
캡처.jpg
(33.1 kB)
Comment