firebase / firebase/firebase-android-sdk
Allowing expiry time/ lifetime of the notification when notification is received by the user or mechanism to delete the notification for notification send incorrectly
Open
api: messaging
type: feature request
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 710
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 31
Description
## What feature would you like to see?
Two related features/ usecase
1. Set expiry time for each notification in message payload to perform operation similar to `setTimeoutAfter`. This will allow lifetime for which a notification will be visible to the user something different from available `ttl`.
2. Feature to delete notification which is already send to the user. E.g. case when notification was incorrectly send to the user or not required now. Delete notification can also be control via feature 1 by setting some very low expiry time e.g. -1 / 0 to clear the notification from the tray.
Contributor guide
Assessment
This issue has not been assessed yet.