pusher / push-notifications-flutter

Official Pusher Beams Flutter client plugin (iOS, Android and Web), receive notifications easily on your Flutter application with Pusher Beams.
https://pub.dev/packages/pusher_beams
MIT License
10 stars 27 forks source link

Callback when clicking notification banner #39

Closed YanaWijaya closed 1 year ago

YanaWijaya commented 1 year ago

Hello

Is there any event callback that I can use to catch user clicks event on notification banner when the app is minimized? On the docs I only see this event "onMessageReceivedInTheForeground" to catch user clicks, but it didn't work when app is minimized.

I've seen it on Pusher Channel there is a callback called "onEvent". But I didn't find something similar to that on beams.

benjamin-tang-pusher commented 1 year ago

Hi, unfortunately the flutter beams library does not have a method for handling pressing the notification when it is minimized, currently there is only a method for the foreground as you mentioned.

We're aware of this, but adding this method is not currently on our roadmap.