when I sent a notification about the Firebase theme, the onMessageReceived method does not work when the application is in
- Background and lock screen
- App close to recent app
in two cases, I received a notification only in the system tray, I want to process it programmatically in the store in sqlite
the same question i think
and its work if the application in the foreground and in the background is indicated in recent applications
So, as I receive this notification, I want to save the notification in sqlite
my postman request is below
{ "to": "/topics/181_Red_Route", "data": { "sound": "default", "badge": "1", "title": "Title1", "body": "Desc1" }, "notification": { "sound": "default", "badge": "1", "title": "Title1", "body": "Desc1" }, "priority": "high", "content_available": true }
early
source share