Using topics, the data field is not populated, using a list of tokens data is populated as expected.
In both cases the expected devices get the notification, but using topic the function com.google.firebase.messaging.RemoteMessage getData() returns null.
Trying to send a notification to Android apps.
Using topics, the data field is not populated, using a list of tokens data is populated as expected. In both cases the expected devices get the notification, but using topic the function com.google.firebase.messaging.RemoteMessage getData() returns null.
Here you can find two sample payloads:
THANKS!