Allows notification grouping by app
This commit is contained in:
+2
-2
@@ -170,7 +170,7 @@ object NotificationUtils {
|
|||||||
.setContentTitle(messageTitle)
|
.setContentTitle(messageTitle)
|
||||||
.setContentText(applicationContext.getString(R.string.app_notification_private_message))
|
.setContentText(applicationContext.getString(R.string.app_notification_private_message))
|
||||||
.setLargeIcon(picture?.bitmap)
|
.setLargeIcon(picture?.bitmap)
|
||||||
.setGroup(messageTitle)
|
// .setGroup(messageTitle)
|
||||||
// .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this
|
// .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this
|
||||||
.setContentIntent(contentPendingIntent)
|
.setContentIntent(contentPendingIntent)
|
||||||
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||||
@@ -185,7 +185,7 @@ object NotificationUtils {
|
|||||||
.setContentTitle(messageTitle)
|
.setContentTitle(messageTitle)
|
||||||
.setContentText(messageBody)
|
.setContentText(messageBody)
|
||||||
.setLargeIcon(picture?.bitmap)
|
.setLargeIcon(picture?.bitmap)
|
||||||
.setGroup(messageTitle)
|
// .setGroup(messageTitle)
|
||||||
// .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this
|
// .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this
|
||||||
.setContentIntent(contentPendingIntent)
|
.setContentIntent(contentPendingIntent)
|
||||||
.setPublicVersion(builderPublic.build())
|
.setPublicVersion(builderPublic.build())
|
||||||
|
|||||||
Reference in New Issue
Block a user