Meteor-Community-Packages / raix-push

DEPRECATED: Push notifications for cordova (ios, android) browser (Chrome, Safari, Firefox)
https://atmospherejs.com/raix/push
MIT License
514 stars 197 forks source link

Remove notification from lock screen after it's sent? #320

Open gotjennie opened 6 years ago

gotjennie commented 6 years ago

If a user takes too long to respond to a notification from my app, it is no longer relevant to them in for my app. Is there a way to remove a notification from the users lock screen after it's been sent?

If not, is there a way to have the notification update, so instead of sending two notifications and having them both appear on the lock screen, I can just update the first notification with the content from the second notification?

raix commented 6 years ago

There might be a way to set a timeout - but not 100% have to reference the cordova plugin, I think to remember that messages in same group/topic will collapse to the latest - but that might not be the right thing for you.