My android FCM notification is perfectly working when the app is running. I am also getting data notifications through Freebase console.
But when my app is in the background, notifications are separately displayed and if the user clears the notification without a tap on the notification, we can't do anything.
Is it possible to store the notification in shared preferences when the app is in background ?
This is possible with GCM, but I have no idea about FCM.
and other thing i am sending notification with data through freebase console. perfectly data come also when user tap on notification but without tap on notification user clear notification i cant do anything.
i want to store notification when user not tap on notification and clear notification
please help me