You have 2 options:
- Campaigns: check
Point N°34
updated yesterday.
There you can set title, body, image and data (check new post where I talk about data).
There you can send to all devices, and also schedule them.
Tested and works perfectly, you can see in a dashboard the progress and the % of opened notifications. - You can use topics, not tested yet: https://firebase.google.com/docs/cloud-messaging/js/send-multiple
But the js code will need to be modified to firstly get the token and after that, register to the topic.
I’ll check it on these days.
The json will be like:
{
"message": {
"topic": "Topic_name",
"notification": {
"title": "Title",
"body": "Body",
"image" "here_the_url_image"
}
}
}