You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing chat application where I need to show notifications with stack for each user's chat. Once user opens that conversation all unread notifications should be removed. To cancel I used Notify.cancelNotification method but it is not cancelling.
Later, after lots of debugging I found when I set Stackable.key to show stack notification, and this key passed as tag on notification posted by io.karn.notify.internal.NotificationInterop#showNotification actually calls notifyAsUser with tag and id.
Hence, when I try to cancel it I must pass tag and id both params. But in lib there is no cancel method with tag param.
Please add tag param for cancel notification
The text was updated successfully, but these errors were encountered:
I'm developing chat application where I need to show notifications with stack for each user's chat. Once user opens that conversation all unread notifications should be removed. To cancel I used
Notify.cancelNotification
method but it is not cancelling.Later, after lots of debugging I found when I set
Stackable.key
to show stack notification, and thiskey
passed astag
on notification posted byio.karn.notify.internal.NotificationInterop#showNotification
actually callsnotifyAsUser
with tag and id.Hence, when I try to cancel it I must pass
tag
andid
both params. But in lib there is no cancel method withtag
param.Please add
tag
param for cancel notificationThe text was updated successfully, but these errors were encountered: