<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Error sending Apple iOS Push Notifications</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=84163580" />
  <subtitle>Error sending Apple iOS Push Notifications</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=84163580</id>
  <updated>2026-04-05T01:48:40Z</updated>
  <dc:date>2026-04-05T01:48:40Z</dc:date>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118725771" />
    <author>
      <name>Leonard Duncan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118725771</id>
    <updated>2020-03-12T05:53:56Z</updated>
    <published>2020-03-12T05:53:56Z</published>
    <summary type="html">Yup i had same problem like you mentioned erlier but after updating the version the problem is no more.&lt;br /&gt;Leonard Duncan&lt;br /&gt;Thank you&lt;br /&gt;&lt;a href="https://www.mcdvoice.page/"&gt;McDVOICE&lt;/a&gt;</summary>
    <dc:creator>Leonard Duncan</dc:creator>
    <dc:date>2020-03-12T05:53:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117342665" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117342665</id>
    <updated>2019-10-02T21:47:50Z</updated>
    <published>2019-10-02T21:47:50Z</published>
    <summary type="html">I meant not using the legacy key and the firebase key instead. Legacy key can&amp;#39;t work right now.</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2019-10-02T21:47:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117342239" />
    <author>
      <name>Mahmoud Elsonbati</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117342239</id>
    <updated>2019-10-02T18:24:58Z</updated>
    <published>2019-10-02T18:24:58Z</published>
    <summary type="html">It is firebase  what iam using actually ..i have tested changing the legacy key with the server key but in vain..i started to develop a custom notification portlet manually</summary>
    <dc:creator>Mahmoud Elsonbati</dc:creator>
    <dc:date>2019-10-02T18:24:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117250741" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117250741</id>
    <updated>2019-09-22T10:03:31Z</updated>
    <published>2019-09-22T10:03:31Z</published>
    <summary type="html">The legacy server way was shut down by Google a couple of months ago, you have to use firebase now.</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2019-09-22T10:03:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117251337" />
    <author>
      <name>Mahmoud Elsonbati</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117251337</id>
    <updated>2019-09-22T05:45:32Z</updated>
    <published>2019-09-22T05:45:32Z</published>
    <summary type="html">I have installed liferay CE push and configured it to use firebase push notification to work with android test app ..in the beginning it was working perfectly but when i changed the account of the  firebase project and used  the new Legacy server key it didn&amp;#39;t work ..registering devices is working fine  but when sending push notifications to the device  nothing is sent andi get an error in the server log   ERROR [liferay/push_notification_response-1][PushNotificationsResponseMessageListener:41] {&amp;#34;payload&amp;#34;:null,&amp;#34;javaClass&amp;#34;:&amp;#34;com.liferay.push.notifications.sender.BaseResponse&amp;#34;,&amp;#34;id&amp;#34;:null,&amp;#34;platform&amp;#34;:&amp;#34;android&amp;#34;,&amp;#34;status&amp;#34;:&amp;#34;HTTP Status Code: 400(Error=DeprecatedEndpoint)&amp;#34;,&amp;#34;succeeded&amp;#34;:false,&amp;#34;token&amp;#34;:null}&lt;br /&gt;&lt;br /&gt;iam using  Liferay Community Edition Portal 7.1.2 CE GA3 and the Liferay CE Push i downloaded from marketplace and it supports  Liferay CE Portal 7.1 GA1+please advise</summary>
    <dc:creator>Mahmoud Elsonbati</dc:creator>
    <dc:date>2019-09-22T05:45:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106016254" />
    <author>
      <name>Sushil Patidar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=106016254</id>
    <updated>2018-03-30T08:02:32Z</updated>
    <published>2018-03-30T08:02:32Z</published>
    <summary type="html">Hi Bruno,&lt;br /&gt;&lt;br /&gt;Can i get help on &lt;a href="https://web.liferay.com/community/forums/-/message_boards/message/106015855"&gt;thread&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards</summary>
    <dc:creator>Sushil Patidar</dc:creator>
    <dc:date>2018-03-30T08:02:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=85733790" />
    <author>
      <name>Denis Signoretto</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=85733790</id>
    <updated>2017-02-07T16:17:12Z</updated>
    <published>2017-02-07T16:17:12Z</published>
    <summary type="html">Hey Bruno,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve just updated to 1.4.0 version and now and I can confirm that ios push notifications with production certificate are successfully delivered !&lt;br /&gt;&lt;br /&gt;Thansk for your support!&lt;br /&gt;Denis.</summary>
    <dc:creator>Denis Signoretto</dc:creator>
    <dc:date>2017-02-07T16:17:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=85677307" />
    <author>
      <name>Bruno Farache</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=85677307</id>
    <updated>2017-02-06T14:38:35Z</updated>
    <published>2017-02-06T14:38:35Z</published>
    <summary type="html">1.4.0 has been released with all missing changes:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://web.liferay.com/marketplace/-/mp/application/48439053?_7_WAR_osbportlet_backURL=&amp;amp;_7_WAR_osbportlet_tabs1=history"&gt;https://web.liferay.com/marketplace/-/mp/application/48439053?_7_WAR_osbportlet_backURL=&amp;amp;_7_WAR_osbportlet_tabs1=history&lt;/a&gt;</summary>
    <dc:creator>Bruno Farache</dc:creator>
    <dc:date>2017-02-06T14:38:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84836486" />
    <author>
      <name>Jeffrey Yang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84836486</id>
    <updated>2017-01-16T18:40:41Z</updated>
    <published>2017-01-16T18:40:41Z</published>
    <summary type="html">Hello Denis,&lt;br /&gt;&lt;br /&gt;You can checkout  Liferay Push CE 1.3.0 at the following:&lt;br /&gt;&lt;br /&gt;Repository: &lt;a href="https://github.com/liferay/liferay-plugins"&gt;https://github.com/liferay/liferay-plugins&lt;/a&gt;&lt;br /&gt;Branch: &lt;a href="https://github.com/liferay/liferay-plugins/tree/6.2.x"&gt;6.2.x &lt;/a&gt;&lt;br /&gt;Commit: &lt;a href="https://github.com/liferay/liferay-plugins/commit/f068ba2a9e6235b5b7c585f5909d62e4a8306ca3"&gt;f068ba2a9e6235b5b7c585f5909d62e4a8306ca3&lt;/a&gt;</summary>
    <dc:creator>Jeffrey Yang</dc:creator>
    <dc:date>2017-01-16T18:40:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84787227" />
    <author>
      <name>Bruno Farache</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84787227</id>
    <updated>2017-01-15T00:22:24Z</updated>
    <published>2017-01-15T00:22:24Z</published>
    <summary type="html">I&amp;#39;m not sure, Denis, I will ask the release team how it works.&lt;br /&gt;&lt;br /&gt;Every time they release they make commits like this one:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://"&gt;https://github.com/liferay/liferay-plugins/commit/f068ba2a9e6235b5b7c585f5909d62e4a8306ca3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see, they increment the version number in liferay-plugin-package.properties. But I&amp;#39;m not sure how this &amp;#34;module-incremental-version&amp;#34; relates to the dot notation version they use for the plugin. I will ask the team to answer us.</summary>
    <dc:creator>Bruno Farache</dc:creator>
    <dc:date>2017-01-15T00:22:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84736416" />
    <author>
      <name>Denis Signoretto</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84736416</id>
    <updated>2017-01-13T08:17:44Z</updated>
    <published>2017-01-13T08:17:44Z</published>
    <summary type="html">Hi Bruno,&lt;br /&gt;&lt;br /&gt;thanks for your feedback.&lt;br /&gt;&lt;br /&gt;Just a question, I&amp;#39;ve seen that current version of Liferay Push CE on marketplace is 1.3.0. &lt;br /&gt;What&amp;#39;s the best way to checkout this version from liferay-plugins repository?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Denis.</summary>
    <dc:creator>Denis Signoretto</dc:creator>
    <dc:date>2017-01-13T08:17:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84707362" />
    <author>
      <name>Bruno Farache</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84707362</id>
    <updated>2017-01-12T15:27:36Z</updated>
    <published>2017-01-12T15:27:36Z</published>
    <summary type="html">You&amp;#39;re right, Denis.&lt;br /&gt;&lt;br /&gt;For some reason this was fixed on EE 6.2 but didn&amp;#39;t get backported to 6.2.x, which is weird.&lt;br /&gt;&lt;br /&gt;The code should look like this:&lt;br /&gt;&lt;br /&gt;if (isSandbox()) {&lt;br /&gt;	appleServiceBuilder.withSandboxDestination();&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;	appleServiceBuilder.withProductionDestination();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I will send a fix to the 6.2.x branch and release a new version of the portlet.&lt;br /&gt;&lt;br /&gt;Thanks for reporting this.</summary>
    <dc:creator>Bruno Farache</dc:creator>
    <dc:date>2017-01-12T15:27:36Z</dc:date>
  </entry>
  <entry>
    <title>Error sending Apple iOS Push Notifications</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84163579" />
    <author>
      <name>Denis Signoretto</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=84163579</id>
    <updated>2016-12-27T16:40:50Z</updated>
    <published>2016-12-27T16:40:50Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi,&lt;br&gt;&lt;br&gt;I'm using Liferay 6.2 CE GA6 and Liferay Push CE Notification portlet 1.3.0. I can successfully register iOS devices and the list of available push tokens is correctly populated in Liferay Push CE portlet. I've configured Apple APN certificate, password and sandbox mode through control panel.&lt;br&gt;&lt;br&gt;Selecting sanbox certificate and sanbox flag all is working fine. Switching to production mode (using the production certificate and removing sandbox flag) try to send push notification message through control panel test panel I get the following error:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;The Destination APNS server is not stated 
Use .withDestination(), withSandboxDestination(), or withProductionDestination().",
"token":null,
"javaClass":"com.liferay.pushnotifications.sender.BaseResponse",
"payload":null}
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;I've investigated a while looking at source code of Liferay Push Portlet  (branch 6.2.x). I've seen that sandbox destination mode is set explitictly when sandbox is flagged in but it seems it doesn't set production Destination mode when sandbox is not flagged in.&lt;br&gt;&lt;br&gt;&lt;a href="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#L246"&gt;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&lt;/a&gt;&lt;br&gt;&lt;br&gt;but I'm not sure this is the cause of the problem.&lt;br&gt;&lt;br&gt;&lt;br&gt;Can you tell me if you have ever had similar problem or was able to setup iOS/Apple Push Notification portlet successfully in production mode?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Denis.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Denis Signoretto</dc:creator>
    <dc:date>2016-12-27T16:40:50Z</dc:date>
  </entry>
</feed>
