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
androidNotificationCallback gets called when clicking notifications that are shown by other flutter plugins. A payload/id (String) should be passed to androidNotificationCallback, so we are able to tell whether this was triggered as a result of clicking this plugin's foreground service notification or some other unrelated notification.
How to reproduce?
Show some notification using flutter_local_notifications
Click on that shown notification from (1)
androidNotificationCallback will be called even though the notification was not shown by background_locator.
The text was updated successfully, but these errors were encountered:
I think you need to specify a unique action name when you build an Intent for notification, and then check that you got that specific action before calling androidNotificationCallback; similar to what flutter_local_notifications is doing:
androidNotificationCallback gets called when clicking notifications that are shown by other flutter plugins. A payload/id (String) should be passed to androidNotificationCallback, so we are able to tell whether this was triggered as a result of clicking this plugin's foreground service notification or some other unrelated notification.
How to reproduce?
The text was updated successfully, but these errors were encountered: