onMessageReceived() can't receive Notification in background when app is closed #426
Labels
ignored issue template
The reported ignored the issue template so required information may not be present
support
Support is being requested but not a necessarily a bug
Hello,
I'm not able to receive any notification in background as system notification in Android and IOS
Ionic CLI : 5.4.4
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
@angular/cli : 8.1.3
Dependencies in package.json for Firebase X plugins:
"dependencies": {
"@ionic-native/firebase-x": "^5.26.0",
"cordova-plugin-firebasex": "^9.1.2-cli",
}
Code of FCM service for notification.
async listenToNotifications() {
}
And this method listenToNotifications() is calling in app.component.ts when platform is ready.
Currently when i am sending notification via backend I'm receiving notification alert but only when app is open.
Really appreciate if anyone can help.
Thanks
The text was updated successfully, but these errors were encountered: