No specific prerequisites are required for using push notifications on Windows.
To use HTTP methods for push notifications on IBM i, you need to apply a mandatory PTF.
| O/S | PTF |
|---|---|
| V7R5M0 | SI81847 |
| V7R4M0 | SI81848 |
| V7R3M0 | SI81849 |
The user profile associated with the LANSA listener e.g. DC@PGMLIB must have READ access to the certificate store file you will be using when making HTTP requests.
Note:
/QIBM/USERDATA/ICSS/CERT/SERVER/DEFAULT.KDB
Make sure the list of trusted CAs is up-to-date. If required CA certificates are missing, your system may fail to make secure HTTP requests.
To subscribe a user to receive push notifications:
To subscribe a user and send a push notifications, you need:
There are some limitations regarding notification properties in certain browsers. For example, Firefox does not support the PushMessageImageUrl property. If you include an image URL in the notification, Firefox will ignore it, and no image will be displayed.
To view which properties are available on a given browser see here.