Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Windows

There are no Windows No specific prerequisites to use are required for using push notifications on Windows.

IBM i

Mandatory PTFs

To use the HTTP methods for push notifications on the IBM i, there is a PTF that must be applied prioryou need to apply a mandatory PTF.

O/SPTF
V7R5M0SI81847
V7R4M0SI81848
V7R3M0SI81849

Configure Required Permissions for the Certificate Store

The user profile of your associated with the LANSA listener e.g. DC@PGMLIB must have READ access have READ access to the certificate store file you will be using when you make your making HTTP requestrequests.Make sure that the user profile has READ and EXECUTE access

Note:

  • The user profile must also have READ and EXECUTE access to all directories in the file path.
  • The default system certificate store is located

...

  • at:
    /QIBM/USERDATA/ICSS/CERT/SERVER/DEFAULT.KDB

Trusted Certificate Authority (CA) Certificates List

Make sure the list of trusted CAs is up-to-date, as the absence of the . If required CA certificates will stop you from being able are missing, your system may fail to make secure HTTP requests.

Web Application

In order for your web application to To subscribe a user to receive push notifications the :

  • The webpage must be using a service worker

...

  • .
  • The website must be running

...

  • on HTTPS. 

 Keys

In order to To subscribe a user to push notifications and to send a push notification a notifications, you need:

  • A valid EC prime256v1 Private Key in PEM format

...

  • .
  • The same certificate must be used to generate the Vapid public key for

...

  • subscribing a user and passed into the push SendPush method.

Limitations

There exists limitations to the availability of some notification properties that can utilized by some browser for the displaying of a notification. For instance, Firefox does use the image property and if you were to set the PushMessageImageUrl property on the sending of notification, this will be ignored by any Firefox subscribed browsers and no image would 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.