【问题标题】:push notification not receiving in an iphone device推送通知未在 iphone 设备中接收
【发布时间】:2015-10-28 09:44:41
【问题描述】:

我遵循了这个链接中提到的所有步骤,https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/notifications/push-notifications-hybrid-applications/,我能够成功地为安卓手机发送推送通知。但 iPhone 没有收到任何通知。

我已经正确添加了APNS证书并打开了2195、2196端口。

在 mobilefirst 控制台中,推​​送通知部分显示我的 iphone 从事件源收到了 10 条消息。当我查看 tomcat 日志时,它显示以下警告

Nov 05, 2015 3:48:48 PM com.worklight.gadgets.serving.ClientConfigProfileServlet piggybackConfigProfile
WARNING: com.worklight.core.messages:could not piggyback configprofile due to invalid or incomplete headers sent from client
Nov 05, 2015 3:48:48 PM com.ibm.pushworks.server.notification.Mediator run()
SEVERE: FPWSE1067E: An Exception occurred in the mediator.
java.lang.RuntimeException: Not yet implemented
    at com.ibm.pushworks.server.notification.Mediator.updateDeviceSubscriptionByToken(Mediator.java:130)
    at com.ibm.pushworks.server.notification.gcm.GCMMediator.updateDeviceSubsciption(GCMMediator.java:172)
    at com.ibm.pushworks.server.notification.gcm.GCMSender.sendAndVerify(GCMSender.java:169)
    at com.ibm.pushworks.server.notification.gcm.GCMMediator.sendOrWait(GCMMediator.java:139)
    at com.ibm.pushworks.server.notification.gcm.GCMMediator.sendNotification(GCMMediator.java:128)
    at com.ibm.pushworks.server.notification.Mediator$2.run(Mediator.java:87)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)

上面的警告是问题的线索吗?如果是这样,我错过了什么?任何建议都会有所帮助。

【问题讨论】:

  • 您是否有更完整的日志要提供...?

标签: push-notification ibm-mobilefirst


【解决方案1】:

最近已解决。

访问 IBM Fix Central 并为您的 MobileFirst Platform Foundation 版本下载最新的 iFix。使用更新的 Studio/CLI 包重新构建您的应用程序。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-01-03
    • 2018-09-06
    • 2015-02-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多