Is it possible to send data payload through Firebase Console that we can receive in onMessageReceived()
while our app is in background/killed?
It doesn't seem like the Firebase Console has the option to send "data" type messages. If you set the custom data fields in the Firebase Console, those will be delivered but only if your app is in the foreground. You need to implement your own FCM sender or use a 3rd party to send data type messages.
See this answer for more details about the two types of Firebase messages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With