I'm facing a subscription problem in a Worklight-based app with the Android environment.
The first time, when the application does the subscription, things are OK, but when unsubscribing and logging-out and then trying to login againand subscribe the user for the second time, things go wrong.
Normally, and as shown in the log, the notification is supported and the user is unsubscribed. However I get this error:
Can't subscribe, notification token is not updated on the server
This is the LogCat:
12-31 09:41:17.220: D/CordovaLog(6293): isSupported : true 12-31 09:41:17.220: D/CordovaLog(6293): isSubscribed : false 12-31 09:41:17.220: E/CPCapp(6293): Can't subscribe, notification token is not updated on the server 12-31 09:41:17.295: D/CPCapp(6293): Clearing notification subscriptions. 12-31 09:41:17.300: D/CPCapp(6293): Send new server notification token id. 12-31 09:41:17.300: D/GCMRegistrar(6293): resetting backoff for com.CPCapp 12-31 09:41:17.300: V/GCMRegistrar(6293): Registering app APP_PACKAGE of senders SENDER_NUMBER
I saw this question which may be related to the same issue but not sure it is: IBM Worklight 6.0 - Push subscribing stopped from working
I'm using Worklight 6.0, Android 4.1 and AdapterAuthentication with endUser as parameter.