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:
-
Change the app notification settings for the app to "Show as pop-up" or highest priority.
-
Send a notification with a "Group Key" set, to any value
-
Observer the Heads up notification on the device is correct.
-
Send another notification (with different title and body, but same "Group Key"
-
Observer the heads up is WRONG, it shows the contents for the last notification
-
Also observer that if you open the notification shade they are actually correct though.
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:
Change the app notification settings for the app to "Show as pop-up" or highest priority.
Send a notification with a "Group Key" set, to any value
Observer the Heads up notification on the device is correct.
Send another notification (with different title and body, but same "Group Key"
Observer the heads up is WRONG, it shows the contents for the last notification
Also observer that if you open the notification shade they are actually correct though.