留言板

Push title and body with LIferay Push

thumbnail
Denis Signoretto,修改在7 年前。

Push title and body with LIferay Push

Expert 帖子: 375 加入日期: 09-4-21 最近的帖子
Hi

I'm sending Push on iOS with Liferay Push CE. I'd like to know if there is a way to manage push title.

It seems that at the moment is not possible manage the title on iOS Sender Implementation.
Is there a specific reason why title is not included in the fields I can specify in the json payload argument of send push notification service? [1]

Thanks,
Denis.

[1] - https://github.com/liferay/liferay-plugins/blob/6.2.x/portlets/push-notifications-portlet/docroot/WEB-INF/src/com/liferay/pushnotifications/sender/apple/ApplePushNotificationsSender.java
thumbnail
Silvio Santos,修改在7 年前。

RE: Push title and body with LIferay Push

New Member 发布: 1 加入日期: 13-4-26 最近的帖子
Hi Denis,

You are right. At the moment, we do not support that, but there is no special reason.
This can be done by setting the alertTitle property from payloadBuilder.
thumbnail
Denis Signoretto,修改在7 年前。

RE: Push title and body with LIferay Push

Expert 帖子: 375 加入日期: 09-4-21 最近的帖子
Do you plan to support it? Do you want I insert a Jira improvement issue for it?

Bye,
Denis.

P.S: It seems starting from iOS 8.2, title property is supported as well.
thumbnail
Denis Signoretto,修改在7 年前。

RE: Push title and body with LIferay Push

Expert 帖子: 375 加入日期: 09-4-21 最近的帖子
Hi Silvio,

I've started a discussion about Apple Nofication Sender class because it alter the payload json object and subsequent senders (Microsoft, Twilio, etc. etc.) processed by notificantion portlet can fail.

Can you take a look?

Thanks,
Denis.