Skip to content

Push Notification not working as expected when tapped #32

Open
@fjwedevelop

Description

@fjwedevelop

Platforms

  • Android
  • iOS

Dependencies version:

  • Flutter 3.24.4

  • Dart 3.5.4

  • backendless_sdk: ^7.3.8

  • firebase_core: ^3.12.1

  • firebase_messaging: ^15.2.5

Problem

I implemented push notifications via Backendless but the 'onMessage' callback when registering the device isn't being triggered when tapping the notification with the app in the foreground or the background.

What I've tried
I tried using FirebaseMessaging onMessage and onMessageOpenedApp streams to detect the push notifications. FirebaseMessaging.onMessage works as expected but FirebaseMessaging.onMessageOpenedApp isn't being triggered when tapping the notification with the app in the background.

When I send the push notification directly from firebase console, onMessageOpenedApp works as expected

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