4

In my testing, when send out Firebase Notification to Android, the notification does NOT show up when the user has the app open on the screen. Is this a default behavior?

What should I do if I want the user to always receive notification no matter they have the app open or not?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
user1187968
  • 7,154
  • 16
  • 81
  • 152

1 Answers1

2

For notification messages the default behavior is indeed that:

  • the OS displays them when the app is not active.
  • they're delivered to your application code when the app is active.

Also see:

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807