react-native-onesignal icon indicating copy to clipboard operation
react-native-onesignal copied to clipboard

[question]: Handling the Dismiss event

Open opmat opened this issue 1 year ago • 1 comments

How can we help?

How can I handle the Notification Dismiss event in the mobile SDK just the same way the Web SDK has the Dismiss event? Is this a feature that is been considered? The challenge is that I want to make a notification available to App locally, but the only option is the Click and foregroundWillDisplay events. If the user clears notification received when the app is closed without clicking on it, I am unable to save that Notification.

I will appreciate any suggestion on how to save notifications received when the app is closed other than when it is clicked incase notifications are cleared.

Thank you

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

opmat avatar Jan 27 '24 18:01 opmat

Hello @opmat thanks for reaching out! While our mobile SDKs do not have a dismiss event for notifications, we do have a notification click listener which is fired when a notification is tapped. Please let us know if you have any additional questions or concerns!

jennantilla avatar Feb 02 '24 23:02 jennantilla

Closing due to no response.

jennantilla avatar Mar 19 '24 19:03 jennantilla