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