Grouping Android notifications with Prime31's etcetera android plugin

457 Views Asked by At

I am having difficulties setting up group notifications with this etcetera Unity plugin. I have notifications being scheduled using the

int scheduleNotification( AndroidNotificationConfiguration config )

function but I can't seem to group them. I understand that one notification needs to be used as the summary notification, but I don't understand what to use for the GroupKey.

Can the GroupKey be anything?

Can someone show me example code that groups a few notifications together?

1

There are 1 best solutions below

0
user2853442 On

So the etceterplugin uses the function call notificationBuilder instead of notificationclCompatBuilder. Thus for android firmware versions 4.1-4.3 (it's been a while since i looked at this issue.) The grouping of notifications is not compatible. The support from etcetera did not provide any informative information and I created my own plug in.

I provided thorough questions and asked what versions they supported and they referred me to the android docs.... I suggest making your own plug in and using notificationCompatBuilder instead of notification builder.