The code not work for me. I use my service (in .NET) for sending fcm message, with payload key (as "data", "link", etc). The service "FirebaseMessaging" fires the notification message if my app is running in foreground, but when it is in background or stopped, when I click on the notification the app start but the message is not fired.