thomasgalliker / Plugin.FirebasePushNotifications

Receive and handle firebase push notifications in .NET MAUI apps
MIT License
65 stars 5 forks source link

[Bug] Notification actions not shown when Android app is in background #47

Closed thomasgalliker closed 3 months ago

thomasgalliker commented 3 months ago

Description

Notification actions are notifications, which are actially local notifications with special action intents. In certain situations, push notifications are captured and reraised as local notifications. These conditions obviously work if the Android app is in foreground but not when it is bsckgrounded.

Steps to Reproduce

  1. Start app
  2. Subscribe to push notification
  3. Register notification actions
  4. Move app to background
  5. Send notification with click_action identifier

Expected Behavior

Actual Behavior

Basic Information

Screenshots

Reproduction Link

Sample app

NGumby commented 3 months ago

I have tested this on Android, and it works fine. Thanks for this, spent a bunch of time on trying to get this working 2 weeks ago.

thomasgalliker commented 3 months ago

It's not an easy topic. If there is anything else you don't like, bugs, missing pieces, unlogic APIs, let me know. I do my best to keep this library alive 👍🏻

Closing this one for now.