IBM Support

PH04094: PUSH NOTIFICATIONS MAY BE LOST IN CORDOVA-BASED ANDROID APPS IF MULTIPLE NOTIFICATIONS ARE RECEIVED WHILE THE APP IS RUNNING.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Product components impacted: SDK
    Affected mobile development environments: Cordova
    Mobile Devices Operating Systems impacted: Android
    User roles impacted: End User
    Distribution: npmjs.org
    Versions affected: 8.0
    When a Cordova-based application is running and it receives
    multiple messages, the messages received after the first may
    not be displayed when clicking on them.  Instead, the messages
    are displayed after the app is restarted.
    When a user selects the notification to view via the
    notification shade, the app should move to the foreground (if
    it isn't already) and the "Success" callback should be invoked
    to display the notification.  The defect addressed by this APAR
    is that the callback isn't invoked for subsequent notifications
    until after the application is restarted.  Upon restarting the
    application, all uncalled Success callbacks are invoked.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Push Notification Users.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * PUSH NOTIFICATIONS MAY BE LOST IN CORDOVA-BASED ANDROID APPS *
    * IF MULTIPLE NOTIFICATIONS ARE RECEIVED WHILE THE APP IS      *
    * RUNNING.                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Provided a fix to solve the problem. Now no notification will
    get lost in both Cordova and Native Android apps.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH04094

  • Reported component name

    MOBILE1ST PLATF

  • Reported component ID

    5725I4301

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-15

  • Closed date

    2018-10-16

  • Last modified date

    2018-10-16

  • 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

    MOBILE1ST PLATF

  • Fixed component ID

    5725I4301

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2018