Message Boards

Push title and body with LIferay Push

thumbnail
Denis Signoretto, modified 7 Years ago.

Push title and body with LIferay Push

Expert Posts: 375 Join Date: 4/21/09 Recent Posts
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, modified 7 Years ago.

RE: Push title and body with LIferay Push

New Member Post: 1 Join Date: 4/26/13 Recent Posts
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, modified 7 Years ago.

RE: Push title and body with LIferay Push

Expert Posts: 375 Join Date: 4/21/09 Recent Posts
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, modified 7 Years ago.

RE: Push title and body with LIferay Push

Expert Posts: 375 Join Date: 4/21/09 Recent Posts
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.