I am using ionic 4. And FCM plugin to receive notifications.
I am trying to save notification in storage. When app is open i am able to save notification. Also when user tap on the notification app will launch and am able to save notification data.
But when app is closed and user swipe or clear notification i didn’t get that data in app.
Is there any way to save notification when it is received?
Please help me. Searching for this issue from last two weeks but didn’t found any solution. Please help.