Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Know whether notification was closed by user or clearNotifications() #119

Open
hjaltisan opened this issue Sep 4, 2017 · 0 comments
Open

Comments

@hjaltisan
Copy link

It would be really nice to be able to distinguish between onRemove() that was called because a user clicked on a notification, and a onRemove() that was called from clearNotifications()

Two possible solutions would be:

  1. Add a second parameter to onRemove that would tell who/what is responsible for calling the onRemove (autoDismiss, userClick, clearNotifications)
  2. Add a parameter to clearNotifications(triggerOnRemove = true) so that we can choose when calling clearNotifications if we want it to invoke onRemove or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant