I am unable to send multiple messages at once. I have gone through the FCM docs but did not find any endpoint.
https://firebase.google.com/docs/cloud-messaging/send-message#send-a-batch-of-messages
headers = [
{"Authorization", "Bearer #{access_token}"},
{"Content-Type", "application/json"}
]
response =
HTTPoison.post!(
"https://fcm.googleapis.com/v1/projects/digimep-f4db3/messages:send",
Jason.encode!(payload),
headers
)
Let me if you guys have any idea about this.