I sending push notification to device but need to delete this already sent push notification after 1 hour. Can i achieve this anyway?
Ohh. Nice question. You can cancel the schedule notification only and if its not already sent. if its already sent to user you can't do cancel.
However, if you want your push notification not to get seen by inactive users then you can set up an auto-expiration time in your notification, these notifications get deleted automatically after a certain span of time.
To implement this, time-to-live is set on Android as an expiration time in seconds, while on iOS it is set as an expiration date
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With