Skip to content

Commit 54fb12d

Browse files
committed
chore: update notificatiojn docs
1 parent 53ee271 commit 54fb12d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/appNotifications/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A sample json is as follows:
2828
"HTML_CONTENT": "<div>hello world <a class='notification_ack'>Click to acknowledge.</a></div>",
2929
"FOR_VERSIONS": "1.x || >=2.5.0 || 5.0.0 - 7.2.3",
3030
"PLATFORM" : "allDesktop",
31-
"USER_TYPE" : "all"
31+
"USER_TYPE" : ["paidSubscriber", "loggedIn"]
3232
},
3333
"ANOTHER_SAMPLE_NOTIFICATION_NAME": {...}
3434
}
@@ -49,6 +49,6 @@ A sample json is as follows:
4949
The notification will be shown to all versions satisfying this.
5050
5. `PLATFORM`: A comma seperated list(no spaces) of all platforms in which the message will be shown.
5151
allowed values are: `mac,win,linux,allDesktop,firefox,chrome,safari,allBrowser,all`
52-
6. `USER_TYPE`: A comma seperated list(no spaces) of all user types in which the message will be shown.
52+
6. `USER_TYPE`: An array of all user types in which the message will be shown.
5353
allowed values are: [`all`, `notLoggedIn`, `loggedIn`, `trial`, `paidSubscriber`]. This filter is only available
5454
in versions > 5, else it is ignored in older versions. combine with `FOR_VERSIONS` to filter based on user type.

0 commit comments

Comments
 (0)