Skip to content

Showing FCM push notification in tray when app is in foreground #155

@Mitnainartinarian

Description

@Mitnainartinarian

When my Unity app is in the foreground and I receive a push notification I get a callback to FirebaseMessaging.MessageReceived. Instead I want the notification to show up in the tray, just as it does when the app is either closed or in the background. Is there a good way to do this in Unity with Firebase? Do I need to use a native plugin to recreate the notification as a local notification? I also need this behavior on iOS, and I want the new notification to be identical to the one for a closed or background app. What would all the cases be that I need to reproduce to make it identical? (ie. for audio, images, title, body, etc).

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