2.2 Custom Fields For Push notifications

Following Keys can be used to customize Push Notifications.

KEY NAME VALUE
SOUND_IOS File name of custom sound file added to OBAPI IOS App
SOUND_ANDROID File name of custom sound file added to OBAPI Android App
LARGE_ICON_ANDROID URL of icon image to be displayed as large icon in Big Style Push Notification of OBAPI Android App.
LARGE_IMAGE_ANDROID URL of image to be displayed in Big Style Push Notification of OBAPI Android App.

These custom keys are to be added to the value of TXT_MSG_TMPLcolumn of DIGX_EP_MSG_TMPL_B table.

If alerts are being created through front end UI, add following keys to “Notification Message” section.

Syntax for adding custom keys to Push Notification alert messages

[customfield1Name~customfield1Value|customfield2Name~customfield2Value]

Example 1:

You have requested for #NoOfChequeBook# cheque book with #ChequeBookOption# leaves on Account #AccountNo#.

[SOUND_ANDROID~isntit|LARGE_IMAGE_ANDROID~http://static1.squarespace.com/static/54ac6f9ae4b0cf1d82a4b59e/t/587f9e52cd0f68e84c5548fd/1484758653422/?format=300w|SOUND_IOS~chime.m4a]

Example 2:

You have requested for #NoOfChequeBook# cheque book with #ChequeBookOption# leaves on Account #AccountNo#.

[SOUND_ANDROID~isntit|LARGE_ICON_ANDROID~http://static1.squarespace.com/static/54ac6f9ae4b0cf1d82a4b59e/t/587f9e52cd0f68e84c5548fd/1484758653422/?format=300w|SOUND_IOS~chime.m4a]