Push notification popups are not appearing on the lock screen

krishnanara
Tera Contributor

Hi Team,

I have set up push notifications. The notification message appears in the Now Mobile app, but sometimes the notification popup does not appear on the screen. How can I ensure that it appears every time?

I would also like to increase the font size of the notification message. How can I customize it?

I use the below PUSH message content. Not sure how to increase the FONT size for Number & State

(function buildJSON(current, message, attributes) {

    var clientType = "Request";

    // Replace with your Embedded Record Screen sys_id
    var screenId = "sys_id";

    var deepLinkGenerator = new global.MobileDeepLinkGenerator(clientType);

    var link = deepLinkGenerator.getFormScreenLink(
        screenId,
        current.getTableName(),
        current.getUniqueValue()
    );

    return {
        "aps": {
            "alert": current.getDisplayValue("number") + " - " +
                     current.getDisplayValue("short_description"),
            "sound": "default"
        },
        "Link": link,
        "Layout": {
            "Identifier": current.getDisplayValue("number"),
            "Description": current.getDisplayValue("short_description"),
            "Status": current.getDisplayValue("state")
        }
    };

})(current, message, attributes);
0 REPLIES 0