A fix is available
APAR status
Closed as program error.
Error description
onReadyToSubscribe() is not invoked if the user logs out and then logs back into an Android application. On Android, if the application calls WL.Client.reloadApp() the application restarts and, after login, there are a series of messages displayed in LogCat. The WL.Client.Push.onReadyToSubscribe callback is not called, and attempts to use the Push API result in unpredictable behavior.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Worklight 6.1 developers using push notifications. * **************************************************************** * PROBLEM DESCRIPTION: * * onReadyToSubscribe() is not invoked if the user logs out and * * then logs back into an Android application. * * * * On Android, if the application calls WL.Client.reloadApp() * * the application restarts and, after login, there are a * * series of * * messages displayed in LogCat. The * * WL.Client.Push.onReadyToSubscribe callback is not called, * * and attempts to use the Push API result in unpredictable * * behavior. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
Set the registration receivers to null upon relogging into the application.
Temporary fix
Comments
APAR Information
APAR number
PI12693
Reported component name
WORKLIGHT ENTER
Reported component ID
5725I4300
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-02-27
Closed date
2014-04-02
Last modified date
2014-04-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WORKLIGHT ENTER
Fixed component ID
5725I4300
Applicable component levels
R610 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
15 October 2021