Skip to content

Push Notification not working as expected when tapped #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fjwedevelop opened this issue Apr 10, 2025 · 0 comments
Open

Push Notification not working as expected when tapped #32

fjwedevelop opened this issue Apr 10, 2025 · 0 comments

Comments

@fjwedevelop
Copy link

fjwedevelop commented Apr 10, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant