Skip to content

Handle push notifications when app in the foreground #289

@abhijeetviswa

Description

@abhijeetviswa

The notification pushed through Firebase is a Notification + Data message (documentation). The framework creates a notification when the app is in the foreground (without the app handling it). However, while the app is in the background, no notification is displayed and instead the app is called back and it's our responsibility to handle the data.

The app had to be modified to handle data from notifications. It is easier to simply duplicate this effect when the app is in the background. We need to style the notification so that it looks similar to the notification created by the framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions