Sending Web Push Notifications

improve this page | report issue

Sending notifications to web platforms is similar to sending notifications to mobile platforms. Refer here, for more information.

Note: Before you can send web push notifications, you must perform some configuration steps. See here, to know more.

  • In the Send Notifications tab, you see a new option for Platform selection.
  • You can select Mobile or Web.

Main

From the Send to drop-down menu, you have new options such as Chrome, Firefox and Safari based on the platform configured. Each platform comes with an associated custom settings section, as required by the platform. You can also target a Notification to All platforms, Devices by Tags, Devices by User ID or to a Single Device.

Chrome custom settings

Below are some of the settings specific to Chrome.

  • Notification Title: Specifies title of the notification.
  • Notification Icon Url: The URL of the icon to be set for web push notification.
  • Time to live: Notifies FCM on message validity. Chrome Settings

Firefox custom settings

Below are some of the settings specific to Firefox.

  • Notification Title: Specifies title of the notification.
  • Notification Icon Url: The URL of the icon to be set for web push notification. Firefox Settings

Safari custom settings

Below are some of the settings specific to Safari.

  • Notification Title: Specifies title of the notification.
  • Action: The label of the action button.
  • URL arguments: The URL arguments that need to be used with this notification. The format is a JSON array.
  • Body: The body of the Notification. Safari Settings

Sending Tag based Notifications, Device ID and User ID based notifications are similar to what we do for mobile platforms.

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on July 02, 2020