Skip to content

[Bug] Heads up notifications show the contains of a previous notification when grouped #1574

@jkasten2

Description

@jkasten2

Description:
Heads up notifications show the contains of a previous notification when notifications are grouped.

Context:
Notifications are grouped if you set a "Group Key" on OneSignal, or automatically by the OneSignal SDK when the 4th one is shown, without clearing the previous ones.

Environment
Issue reproduced on a Samsung S21 with Android 12 on the OneSignal-Android-SDK 4.7.2 SDK.

Steps to Reproduce Issue:

  1. Change the app notification settings for the app to "Show as pop-up" or highest priority.

  2. Send a notification with a "Group Key" set, to any value

  3. Observer the Heads up notification on the device is correct.

    • image
  4. Send another notification (with different title and body, but same "Group Key"

  5. Observer the heads up is WRONG, it shows the contents for the last notification

    • image
  6. Also observer that if you open the notification shade they are actually correct though.

    • image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions