Hi, I would like to dismiss my pushWoosh notification after user clicks my "share" button added to notification. If this would be "standard" android notification, issued by me I would be able to just call cancel () with this notification id.
But in case of the pushWoosh I am not the one who issues notification and I can't find the way to get notification id (the idea was to call cancel(id) in the place where I handle pending intent started by action button). Or maybe there is some other way to tell the notification that it should be dismissed?
I add this "share" button using notificationBuilder.addAction() in my implementation of AbsNotificationFactory - the same way as docs say.
Any help would be appreciated.
Please sign in to leave a comment.