I want to send notification to my iOS application from server side. I am using PHP at server side and FCM to send notifications. I have the server_key for my firebase project.
I sent the following to FCM
{
"to": "red_id",
"data": {
"message": "This is a Firebase Cloud Messaging Topic Message!",
}
}
But I want to send notification globally without using "to" clause. Need help