Mohammad Ashfaq
Mohammad Ashfaq

Reputation: 1373

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:

Can't Subscribe, notification token not updated on the server

Upvotes: 0

Views: 110

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

Nope, there is no special setting in Worklight Server, just correct setup in the application-level (or emulator).

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...

If you intend on using 5.0.6.1, then use the correct sample project.
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).
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.

enter image description here

Upvotes: 1

Related Questions