FireBase Messaging: OnMessageReceived Only Occurs when the application is in foreground.

I created an application and addeded the firebase service for the push notifications.
If I send a notification from the server, the phone will recive the message and shows it in the notification-area, but my custom code in the Method "OnMessageReceived" won't be fired.

It will only be executed if the application is in the foreground...

Sign In or Register to comment.