[英]IBM Worklight 5.0.6.1 - Is there any settings we have to do on worklight server, in order to enable push notification on android?
I have downloaded, sample PushNotification from IBM website, and while running the application on android ICS 4.0, I get this error: 我已经从IBM网站上下载了示例PushNotification,并且在android ICS 4.0上运行该应用程序时,出现以下错误:
Can't Subscribe, notification token not updated on the server
无法订阅,服务器上的通知令牌未更新
Nope, there is no special setting in Worklight Server, just correct setup in the application-level (or emulator). 不会,Worklight Server中没有特殊设置,仅在应用程序级别(或仿真器)中正确设置即可。
You mention that you use 5.0.6.1, but your application-descriptor.xml
is a mixture of 6.1.0 and 5.0.6.1... 您提到使用5.0.6.1,但您的
application-descriptor.xml
是6.1.0和5.0.6.1的混合物...
If you intend on using 5.0.6.1, then use the correct sample project. 如果打算使用5.0.6.1,请使用正确的示例项目。
Use the Push Notifications project from here . 从此处使用“ 推送通知”项目 。
Next, I have tested your project. 接下来,我已经测试了您的项目。 And it is working for me OK (after fixing the application-descriptor.xml file).
它对我来说很好(修复了application-descriptor.xml文件之后)。
See screen shot at the bottom. 请参阅底部的屏幕截图。
I am guessing that you are simply mis-configuring something else... 我猜您只是在错误配置其他内容...
Double-check the steps you have done by following the instructions in the answer to this question . 按照此问题的答案中的说明,仔细检查您已完成的步骤。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.