Foren

Liferay Push send an empty push when a sender executes after Apple sender

thumbnail
Denis Signoretto, geändert vor 7 Jahren.

Liferay Push send an empty push when a sender executes after Apple sender

Expert Beiträge: 375 Beitrittsdatum: 21.04.09 Neueste Beiträge
Hi,

I'm working on Liferay 6.2 and Liferay push 1.4.0 configured for multiple senders (iOS, Android and a custom sender injected by Spring).
After Apple sender has been executed the subsequent senders send an empty push.

Looking at the source code of PushNotificationsDeviceLocalServiceImpl.java and ApplePushNotificationsSender.java seems an issue related with JSONObject payload parameter. In PushNotificationsDeviceLocalServiceImpl it isn't an immutable object. Apple Sender modify the object and subsequent senders doesn't find expected values.

Can you confirm the issue?

Bye,
Denis.
thumbnail
Denis Signoretto, geändert vor 6 Jahren.

RE: Liferay Push send an empty push when a sender executes after Apple send

Expert Beiträge: 375 Beitrittsdatum: 21.04.09 Neueste Beiträge
I suppose this problem is related to issue LPS-74306 that has been fixed only on version 2.2.1 of Liferay Push CE (issue is stille present in Liferay Push CE 1.4.0 available for Liferay 6.2)
thumbnail
Javier Gamarra, geändert vor 6 Jahren.

RE: Liferay Push send an empty push when a sender executes after Apple send

Expert Beiträge: 348 Beitrittsdatum: 12.02.15 Neueste Beiträge
It's available in 6.2 EE too, just released a few days ago, if it is a valid solution for you.