Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Android issue: getDisplayedNotifications() does not return custom data fields from FCM push notification #393

@CristianSUU

Description

@CristianSUU

I have a chat app that receives notifications from FCM push notification. If 3 users send messages to me, I will have 3 push notifications. What I want to when I open a conversation is to get all the notifications I received with the getDisplayedNotifications() function and filter them based on FCM push notification's custom data field called event (id of the conversation). I can access that field from PNs custom data in IOS at this path: notification.data.event on the iOS device, but on the Android I can't. data field is missing from the Notification object

This is what getDisplayedNotifications returns on IOS:

image

and this is what getDisplayedNotifications returns on Android:

image

ignore the length of the array.

Do you have any solutions to this issue? (the display is handled by default, not Notifee)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions