Skip to content

Commit c6773a7

Browse files
committed
- made adjustment to the docs
1 parent 08c1396 commit c6773a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can pass several options to this function, everything is optional:
4444
|`id` |A number so you can easily distinguish your notifications. Default 0.|
4545
|`title` |The title which is shown in the statusbar. Default empty.|
4646
|`body` |The text below the title. Default empty.|
47-
|`groupedMessages`| An array of atmost 5 messages that would be displayed using android's notification [inboxStyle](https://developer.android.com/reference/android/app/Notification.InboxStyle.html). Default not set |
47+
|`groupedMessages`| An array of atmost 5 messages that would be displayed using android's notification [inboxStyle](https://developer.android.com/reference/android/app/Notification.InboxStyle.html). Note: The array would be trimed from the top if the messages exceed five. Default not set |
4848
|`groupSummary`| An [inboxStyle](https://developer.android.com/reference/android/app/Notification.InboxStyle.html) notification summary. Default empty|
4949
|`ticker` |On Android you can show a different text in the statusbar, instead of the `body`. Default not set, so `body` is used.|
5050
|`at` |A JavaScript Date object indicating when the notification should be shown. Default 'now'.|
@@ -64,6 +64,8 @@ Note that after a reboot the `smallIcon` and `largeIcon` are not restored but fa
6464
body: 'Recurs every minute until cancelled',
6565
ticker: 'The ticker',
6666
badge: 1,
67+
groupedMessages:["The first", "Second", "Keep going", "one more..", "OK Stop"] //android only
68+
groupSummary:"Summary of the grouped messages above" //android only
6769
ongoing: true, // makes the notification ongoing (Android only)
6870
smallIcon: 'res://heart.png',
6971
interval: 'minute',

0 commit comments

Comments
 (0)