Skip to content

Commit 2ed0a2c

Browse files
clarify banner and list behavior on Android
1 parent ff9293c commit 2ed0a2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

push-notifications/src/definitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ declare module '@capacitor/cli' {
1515
* - `badge`: badge count on the app icon is updated (default value)
1616
* - `sound`: the device will ring/vibrate when the push notification is received
1717
* - `alert`: **Deprecated on iOS.** Use `banner` and `list` instead. On Android, this value is still used to display the notification.
18-
* - `banner`: the push notification is displayed as a banner
19-
* - `list`: the push notification is displayed in the notification center
18+
* - `banner`: the push notification is displayed as a banner. On Android, defaults to the same behavior as `alert`.
19+
* - `list`: the push notification is displayed in the notification center. On Android, defaults to the same behavior as `alert`.
2020
*
2121
* An empty array can be provided if none of the options are desired.
2222
*

0 commit comments

Comments
 (0)