Forums de discussion

Push title and body with LIferay Push

thumbnail
Denis Signoretto, modifié il y a 7 années.

Push title and body with LIferay Push

Expert Publications: 375 Date d'inscription: 21/04/09 Publications récentes
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, modifié il y a 7 années.

RE: Push title and body with LIferay Push

New Member Envoyer: 1 Date d'inscription: 26/04/13 Publications récentes
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, modifié il y a 7 années.

RE: Push title and body with LIferay Push

Expert Publications: 375 Date d'inscription: 21/04/09 Publications récentes
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, modifié il y a 7 années.

RE: Push title and body with LIferay Push

Expert Publications: 375 Date d'inscription: 21/04/09 Publications récentes
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.