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);
2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @krishnanara 

 

Refer : Define font size settings for mobile devices 

 

About this task

Specify the size of text by configuring the text-size definition in your mobile device settings.

Note:
Text-label typography within the ServiceNow Mobile Platform isn't yet fully available for mobile and legacy cards, map screens, Virtual Agent, dynamic segments, and mobile banners (iOS only).

Procedure

  1. In your mobile device, go to the Settings option or Settings icon.
  2. Tap the Accessibility option from the menu.
  3. Set the font setting according to your requirements.
    Note:
    If you do not see a change in the font settings, refer to your admin to enable this feature.
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Tanushree Maiti
Tera Patron

Hi @krishnanara 

 

Refer:

https://www.servicenow.com/community/developer-forum/custom-push-notifications-not-firing-on-now-mob...

 

https://www.servicenow.com/community/mobile-apps-platform-forum/push-notifications-on-service-now-mo...

 

https://www.servicenow.com/community/mobile-apps-platform-forum/now-mobile-app-push-notifications-no...

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti