Closed
Description
Issue with message handlers in @nativescript/firebase-messaging
Angular flavor
Handlers are added in a service: FirebaseService (src/app/core/services/firebase/firebase.service.ts)
3 test scenarios:
- ✅ FCM message received while in foreground: onMessage (Android/iOS)
- ✅ notification tapped while in background: onNotificationTap (Android/iOS)
- ❗ notification tapped while closed: none (Android/iOS)
Expected result: onNotificationTap
is called when app was closed and notification was tapped.
I set up a simple demo project to show the current issue:
https://github.com/jessorlisa/demo-issues-nativescript-ng/tree/issue/firebase-messaging
All relevant information can be found in the "Issue description" and "Reproduction" section.
Initially reported here: #42