AS
Size: a a a
AS
Ab
Ab
AS
Ab
AS
AS
Ab
Ab
Ć
Ć
Ab
Ab
AS
Ab
AS
if( platform != null && "ios".equalsIgnoreCase(platform) ) {
pushMessage = "{"+
"\"to\":\"" + StringEscapeUtils.escapeJson(registrationToken) + "\"" + "," +
"\"priority\":\"high\"" + "," +
"\"content_available\":true" + "," +
"\"notification\":{" +
"\"title\":\"" + StringEscapeUtils.escapeJson(title) + "\"" + "," +
"\"body\":\"" + StringEscapeUtils.escapeJson(message) + "\"" + "" +
"}," +
"\"data\":" + "{" +
"\"notId\":\"" + notificationId + "\"" + "," +
"\"info:\":" + extraInfo +
"}" +
"}";
} else {
pushMessage = "{\"data\":" + "{" + "\"notId\":\"" + notificationId + "\"," + "\"title\":\""
+ StringEscapeUtils.escapeJson(title) + "\"," + "\"message\":\""
+ StringEscapeUtils.escapeJson(message) + "\"" + "," + "\"content-available\":\"1\"," + "\"info:\":"
+ extraInfo + "}," + "\"to\":\"" + StringEscapeUtils.escapeJson(registrationToken) + "\"" + "}";
}
AS
Ab