IBM Support

PI49587: WHEN ANDROID HYBRID APP GOES FROM NATIVE TO THE HYBRID VIEW, NOTIFICATIONS ARE RESET

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When switching from native to hybrid, it seems within hybrid
    when a WL.client.connect() is invoked, any exisitng
    notifications that were received during the time application is
    in native mode, are cleared from the tray
    

Local fix

  • remove <receiver
    android:name="com.worklight.androidgap.push.WLBroadcastReceiver"
    />
    from the AndroidManifest.xml
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * End user using mobile applications developed using MFP       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In an app which has both native and hybrid view, native view *
    * is the one which handles the  notification. Now when there   *
    * is a notification and if the app is switched to hybrid view, *
    * notification gets cleared.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Check if there any notifications in the internal queue, if  yes
    then don't clear it in the tray.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI49587

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-29

  • Closed date

    2015-10-26

  • Last modified date

    2015-10-26

  • 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

    WL/MFPF ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R700 PSY

       UP

  • R710 PSY

       UP

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

Document Information

Modified date:
17 October 2021