[英]IBM Worklight - Push Notification for IBM appcenter client (apk) Not delivering
I am trying to get the push notification on android appcenter client(apk) for every update from app-center console, I have configured everything as per docs ( http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.appadmin.doc%2Fappcenter%2Ft_ac_gcm_connect.html ).我正在尝试从应用程序中心控制台获取每次更新在 android appcenter 客户端(apk)上的推送通知,我已经按照文档( http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/)配置了所有内容index.jsp?topic=%2Fcom.ibm.worklight.appadmin.doc%2Fappcenter%2Ft_ac_gcm_connect.html )。 When i see the logs there is no any error but it says
当我看到日志时,没有任何错误,但它说
[4/23/14 1:43:50:447 PDT] 0000002e AppCenterServletContextListener I The list of messages to be pushed has been cleaned up. [4/23/14 1:43:50:447 PDT] 0000002e AppCenterServletContextListener I 要推送的消息列表已清理。
for every 10 second.每 10 秒。 but am not getting any notification on my device.
但我的设备上没有收到任何通知。 my liberty server.xml configs are jndiName="ibm.appcenter.gcm.signature.googleapikey" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" jndiName="ibm.appcenter.push.schedule.period.amount" value="10" jndiName="ibm.appcenter.push.schedule.period.unit" value="seconds"
我的自由 server.xml 配置是 jndiName="ibm.appcenter.gcm.signature.googleapikey" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" jndiName="ibm.appcenter.push.schedule.period.amount" value="10" jndiName="ibm. appcenter.push.schedule.period.unit" value="seconds"
please tell me where is the mistake.请告诉我错误在哪里。
The message "The list of messages to be pushed has been cleaned up" occurs when the system sends out the push notifications.系统发出推送通知时,会出现“待推送消息列表已清理”消息。 That is: when an app is updated, the corresponding push notification is first queued.
即:当一个应用程序更新时,相应的推送通知首先排队。 Then, every X seconds/minutes/hours, the queue is cleaned and all pending push notifications are sent.
然后,每隔 X 秒/分钟/小时,清理队列并发送所有待处理的推送通知。 At that time point, you see the message "The list of messages to be pushed has been cleaned up" in the log.
此时,您会在日志中看到“待推送消息列表已清理”的消息。 Hence, this log message is normal.
因此,此日志消息是正常的。
Possible reasons that the push notification does not reach an Android device:推送通知未到达 Android 设备的可能原因:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.